/freebsd-current/sys/contrib/dev/athk/ath10k/ |
H A D | wmi-ops.h | 237 if (WARN_ON_ONCE(!ar->wmi.ops->rx)) 240 ar->wmi.ops->rx(ar, skb); 248 if (!ar->wmi.ops->map_svc) 251 ar->wmi.ops->map_svc(in, out, len); 259 if (!ar->wmi.ops->map_svc_ext) 262 ar->wmi.ops->map_svc_ext(in, out, len); 270 if (!ar->wmi.ops->pull_scan) 273 return ar->wmi.ops->pull_scan(ar, skb, arg); 280 if (!ar->wmi.ops->pull_mgmt_tx_compl) 283 return ar->wmi 1580 struct ath10k_wmi *wmi = &ar->wmi; local 1597 struct ath10k_wmi *wmi = &ar->wmi; local [all...] |
H A D | Makefile | 11 wmi.o \ 12 wmi-tlv.o \
|
H A D | thermal.c | 13 #include "wmi-ops.h" 132 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) 135 if (!ar->wmi.ops->gen_pdev_set_quiet_mode) 160 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) 185 if (!(ar->wmi.ops->gen_pdev_get_temperature)) 214 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map))
|
H A D | mac.c | 22 #include "wmi.h" 26 #include "wmi-tlv.h" 27 #include "wmi-ops.h" 218 if (test_bit(WMI_SERVICE_TX_MODE_DYNAMIC, ar->wmi.svc_map)) 402 arvif->ar->wmi.vdev_param->def_keyid, 712 if (test_bit(WMI_SERVICE_SYNC_DELETE_CMDS, ar->wmi.svc_map)) { 751 ath10k_warn(ar, "failed to create wmi peer %pM on vdev %i: %i\n", 758 ath10k_warn(ar, "failed to wait for created wmi peer %pM on vdev %i: %i\n", 790 param = ar->wmi.pdev_param->sta_kickout_th; 799 param = ar->wmi [all...] |
H A D | wmi.c | 18 #include "wmi.h" 19 #include "wmi-tlv.h" 22 #include "wmi-ops.h" 1774 time_left = wait_for_completion_timeout(&ar->wmi.service_ready, 1785 time_left = wait_for_completion_timeout(&ar->wmi.unified_ready, 1834 ret = ath10k_htc_send(&ar->htc, ar->wmi.eid, skb); 1914 wake_up(&ar->wmi.tx_credits_wq); 1924 ath10k_warn(ar, "wmi command %d is not supported by firmware\n", 1929 wait_event_timeout(ar->wmi.tx_credits_wq, ({ 1945 ath10k_warn(ar, "wmi comman 2411 struct ath10k_wmi *wmi = &ar->wmi; local [all...] |
H A D | wow.c | 13 #include "wmi.h" 14 #include "wmi-ops.h" 341 if (ar->wmi.rx_decap_mode == ATH10K_HW_TXRX_NATIVE_WIFI) { 620 if (WARN_ON(!test_bit(WMI_SERVICE_WOW, ar->wmi.svc_map))) 625 if (ar->wmi.rx_decap_mode == ATH10K_HW_TXRX_NATIVE_WIFI) { 630 if (test_bit(WMI_SERVICE_NLO, ar->wmi.svc_map)) {
|
H A D | wmi-tlv.c | 11 #include "wmi.h" 12 #include "wmi-ops.h" 13 #include "wmi-tlv.h" 91 "wmi tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", 108 "wmi tlv parse failure of tag %u at byte %zd (%zu bytes left, %u expected)\n", 117 "wmi tlv parse failure of tag %u at byte %zd (%u bytes is less than min length %zu)\n", 245 "wmi tlv stats peer addr %pMF rx rate code 0x%x bit rate %d kbps\n", 251 "wmi tlv stats tx rate code 0x%x bit rate %d kbps\n", 300 "wmi tlv peer stats info update peer vdev id %d peers %i more data %d\n", 414 ath10k_dbg(ar, ATH10K_DBG_WMI, "wmi tl 3270 struct ath10k_wmi *wmi = &ar->wmi; local 3281 struct ath10k_wmi *wmi = &ar->wmi; local [all...] |
H A D | debug.c | 24 #include "wmi-ops.h" 121 ath10k_info(ar, "htt-ver %d.%d wmi-op %d htt-op %d cal %s max-sta %d raw %d hwcrypto %d\n", 211 enabled = test_bit(i, ar->wmi.svc_map); 316 /* Stat data may exceed htc-wmi buffer limit. In such case firmware 559 ar->wmi.cmd->vdev_install_key_cmdid); 577 * 'soft': Call wmi command causing firmware hang. This firmware hang is 621 ar->wmi.vdev_param->rts_threshold, 1376 ret = ath10k_wmi_pdev_set_param(ar, ar->wmi.pdev_param->ani_enable, 1461 ret = ath10k_wmi_pdev_set_param(ar, ar->wmi.pdev_param->cal_period, 1773 ar->wmi [all...] |
H A D | core.c | 28 #include "wmi.h" 33 #include "wmi-ops.h" 741 [ATH10K_FW_FEATURE_EXT_WMI_MGMT_RX] = "wmi-mgmt-rx", 742 [ATH10K_FW_FEATURE_WMI_10X] = "wmi-10.x", 743 [ATH10K_FW_FEATURE_HAS_WMI_MGMT_TX] = "has-wmi-mgmt-tx", 745 [ATH10K_FW_FEATURE_WMI_10_2] = "wmi-10.2", 2186 ath10k_dbg(ar, ATH10K_DBG_BOOT, "found fw ie wmi op version %d\n", 2605 wake_up(&ar->wmi.tx_credits_wq); 2680 ar->wmi.rx_decap_mode = ATH10K_HW_TXRX_NATIVE_WIFI; 2715 ar->wmi [all...] |
H A D | fwlog.c | 1426 if ((ar->wmi.op_version ==
|
H A D | core.h | 22 #include "wmi.h" 1077 struct ath10k_wmi wmi; member in struct:ath10k 1327 test_bit(WMI_SERVICE_PEER_STATS, ar->wmi.svc_map))
|
H A D | debugfs_sta.c | 8 #include "wmi-ops.h" 433 ar->wmi.peer_param->debug, peer_debug_trigger);
|
/freebsd-current/sys/contrib/dev/athk/ath12k/ |
H A D | Makefile | 7 wmi.o \
|
H A D | wmi.c | 312 ath12k_err(ab, "wmi tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", 328 ath12k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%zu bytes left, %u expected)\n", 336 ath12k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%u bytes is less than min length %zu)\n", 391 static int ath12k_wmi_cmd_send_nowait(struct ath12k_wmi_pdev *wmi, struct sk_buff *skb, argument 395 struct ath12k_base *ab = wmi->wmi_ab->ab; 406 ret = ath12k_htc_send(&ab->htc, wmi->eid, skb); 418 int ath12k_wmi_cmd_send(struct ath12k_wmi_pdev *wmi, struct sk_buff *skb, argument 421 struct ath12k_wmi_base *wmi_sc = wmi->wmi_ab; 427 ret = ath12k_wmi_cmd_send_nowait(wmi, skb, cmd_id); 436 ath12k_warn(wmi_sc->ab, "wmi comman 677 ath12k_wmi_service_bitmap_copy(struct ath12k_wmi_pdev *wmi, const u32 *wmi_svc_bm) argument 763 struct ath12k_wmi_pdev *wmi = ar->wmi; local 808 struct ath12k_wmi_pdev *wmi = ar->wmi; local 894 struct ath12k_wmi_pdev *wmi = ar->wmi; local 921 struct ath12k_wmi_pdev *wmi = ar->wmi; local 949 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1018 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1114 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1148 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1181 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1213 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1252 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1287 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1364 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1399 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1430 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1461 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1492 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1526 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1558 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1593 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1625 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1655 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1688 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1717 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1751 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1814 struct ath12k_wmi_pdev *wmi = ar->wmi; local 1955 struct ath12k_wmi_pdev *wmi = ar->wmi; local 2308 struct ath12k_wmi_pdev *wmi = ar->wmi; local 2533 struct ath12k_wmi_pdev *wmi = ar->wmi; local 2581 struct ath12k_wmi_pdev *wmi = ar->wmi; local 2710 struct ath12k_wmi_pdev *wmi = ar->wmi; local 2776 struct ath12k_wmi_pdev *wmi = ar->wmi; local 2809 struct ath12k_wmi_pdev *wmi = ar->wmi; local 2845 struct ath12k_wmi_pdev *wmi = ar->wmi; local 2881 struct ath12k_wmi_pdev *wmi = ar->wmi; local 2915 struct ath12k_wmi_pdev *wmi = ar->wmi; local 2949 struct ath12k_wmi_pdev *wmi = ar->wmi; local 3001 struct ath12k_wmi_pdev *wmi = ar->wmi; local 3054 struct ath12k_wmi_pdev *wmi = ar->wmi; local 3084 struct ath12k_wmi_pdev *wmi = ar->wmi; local 3118 struct ath12k_wmi_pdev *wmi = ar->wmi; local 3159 struct ath12k_wmi_pdev *wmi = ar->wmi; local 3428 ath12k_init_cmd_send(struct ath12k_wmi_pdev *wmi, struct ath12k_wmi_init_cmd_arg *arg) argument 6974 struct ath12k_wmi_pdev *wmi = ar->wmi; local [all...] |
H A D | core.h | 19 #include "wmi.h" 236 /* 127 stations; wmi limit */ 474 struct ath12k_wmi_pdev *wmi; member in struct:ath12k
|
H A D | wmi.h | 4776 struct ath12k_wmi_pdev wmi[MAX_RADIOS]; member in struct:ath12k_wmi_base 4800 int ath12k_wmi_cmd_send(struct ath12k_wmi_pdev *wmi, struct sk_buff *skb,
|
/freebsd-current/sys/contrib/dev/athk/ath11k/ |
H A D | wmi.c | 214 ath11k_err(ab, "wmi tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", 230 ath11k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%zu bytes left, %u expected)\n", 238 ath11k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%u bytes is less than min length %zu)\n", 296 static int ath11k_wmi_cmd_send_nowait(struct ath11k_pdev_wmi *wmi, struct sk_buff *skb, argument 300 struct ath11k_base *ab = wmi->wmi_ab->ab; 316 ret = ath11k_htc_send(&ab->htc, wmi->eid, skb); 328 int ath11k_wmi_cmd_send(struct ath11k_pdev_wmi *wmi, struct sk_buff *skb, argument 331 struct ath11k_wmi_base *wmi_sc = wmi->wmi_ab; 339 ret = ath11k_wmi_cmd_send_nowait(wmi, skb, cmd_id); 348 wait_event_timeout(wmi 600 ath11k_wmi_service_bitmap_copy(struct ath11k_pdev_wmi *wmi, const u32 *wmi_svc_bm) argument 702 struct ath11k_pdev_wmi *wmi = ar->wmi; local 754 struct ath11k_pdev_wmi *wmi = ar->wmi; local 845 struct ath11k_pdev_wmi *wmi = ar->wmi; local 872 struct ath11k_pdev_wmi *wmi = ar->wmi; local 900 struct ath11k_pdev_wmi *wmi = ar->wmi; local 983 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1086 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1140 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1173 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1205 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1245 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1279 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1357 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1393 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1425 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1456 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1487 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1521 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1555 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1590 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1623 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1656 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1690 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1722 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1751 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1788 struct ath11k_pdev_wmi *wmi = ar->wmi; local 1868 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2008 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2315 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2552 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2602 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2738 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2809 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2843 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2879 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2915 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2949 struct ath11k_pdev_wmi *wmi = ar->wmi; local 2982 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3046 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3105 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3142 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3205 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3241 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3273 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3305 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3362 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3412 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3446 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3500 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3539 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3579 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3623 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3661 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3699 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3738 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3777 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3816 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3855 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3896 struct ath11k_pdev_wmi *wmi = ar->wmi; local 3940 struct ath11k_pdev_wmi *wmi = ar->wmi; local 4289 ath11k_init_cmd_send(struct ath11k_pdev_wmi *wmi, struct wmi_init_cmd_param *param) argument 7354 struct ath11k_pdev_wmi *wmi = NULL; local 9171 struct ath11k_pdev_wmi *wmi = ar->wmi; local 9275 struct ath11k_pdev_wmi *wmi = ar->wmi; local 10041 { struct ath11k_pdev_wmi *wmi = ar->wmi; local 10082 struct ath11k_pdev_wmi *wmi = ar->wmi; local 10113 struct ath11k_pdev_wmi *wmi = ar->wmi; local [all...] |
H A D | testmode.c | 10 #include "wmi.h" 54 "event wmi cmd_id %d skb length %d\n", 72 "failed to allocate skb for unsegmented testmode wmi event\n"); 110 "event wmi cmd_id %d ftm event msg %pK datalen %d\n", 170 "failed to allocate skb for segmented testmode wmi event\n"); 303 struct ath11k_pdev_wmi *wmi = ar->wmi; local 326 ath11k_warn(ar->ab, "No data present in testmode wmi command\n"); 362 "cmd wmi cmd_id %d buf length %d\n", 367 skb = ath11k_wmi_alloc_skb(wmi 392 struct ath11k_pdev_wmi *wmi = ar->wmi; local [all...] |
H A D | Makefile | 7 wmi.o \
|
H A D | wow.c | 15 #include "wmi.h" 413 if (ar->wmi->wmi_ab->wlan_resource_config.rx_decap_mode == 855 if (!test_bit(WMI_TLV_SERVICE_WOW, ar->wmi->wmi_ab->svc_map)) 860 if (ar->wmi->wmi_ab->wlan_resource_config.rx_decap_mode == 866 if (test_bit(WMI_TLV_SERVICE_NLO, ar->wmi->wmi_ab->svc_map)) {
|
H A D | core.h | 23 #include "wmi.h" 358 /* 127 stations; wmi limit */ 621 struct ath11k_pdev_wmi *wmi; member in struct:ath11k
|
H A D | mac.c | 17 #include "wmi.h" 1127 ath11k_warn(ar->ab, "failed to request wmi monitor vdev %i removal: %d\n", 3809 ath11k_warn(ar->ab, "failed to stop wmi scan: %d\n", ret); 6317 if (test_bit(WMI_TLV_SERVICE_SPOOF_MAC_SUPPORT, ar->wmi->wmi_ab->svc_map)) { 9509 if (test_bit(WMI_TLV_SERVICE_SPOOF_MAC_SUPPORT, ar->wmi->wmi_ab->svc_map)) { 9514 if (test_bit(WMI_TLV_SERVICE_NLO, ar->wmi->wmi_ab->svc_map)) { 9732 ar->wmi = &ab->wmi_ab.wmi[i]; 9733 /* FIXME wmi[0] is already initialized during attach,
|
/freebsd-current/sys/modules/ath10k/ |
H A D | Makefile | 12 SRCS+= txrx.c wmi.c wmi-tlv.c
|
/freebsd-current/sys/modules/ath11k/ |
H A D | Makefile | 12 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
|
/freebsd-current/sys/modules/ath12k/ |
H A D | Makefile | 10 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
|