/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 367 static int ath6kl_nliftype_to_drv_iftype(enum nl80211_iftype type, u8 *nw_type) in ath6kl_nliftype_to_drv_iftype() argument 372 *nw_type = INFRA_NETWORK; in ath6kl_nliftype_to_drv_iftype() 375 *nw_type = ADHOC_NETWORK; in ath6kl_nliftype_to_drv_iftype() 379 *nw_type = AP_NETWORK; in ath6kl_nliftype_to_drv_iftype() 390 u8 *if_idx, u8 *nw_type) in ath6kl_is_valid_iftype() 394 if (ath6kl_nliftype_to_drv_iftype(type, nw_type)) in ath6kl_is_valid_iftype() 437 if (vif->nw_type != INFRA_NETWORK) in ath6kl_cfg80211_sta_bmiss_enhance() 601 vif->nw_type = vif->next_mode; in ath6kl_cfg80211_connect() 620 if (vif->nw_type == INFRA_NETWORK) { in ath6kl_cfg80211_connect() 633 status = ath6kl_wmi_connect_cmd(ar->wmi, vif->fw_vif_idx, vif->nw_type, in ath6kl_cfg80211_connect() 389 ath6kl_is_valid_iftype(struct ath6kl *ar, enum nl80211_iftype type, u8 *if_idx, u8 *nw_type) ath6kl_is_valid_iftype() argument 679 ath6kl_add_bss_if_needed(struct ath6kl_vif *vif, enum network_type nw_type, const u8 *bssid, struct ieee80211_channel *chan, const u8 *beacon_ie, size_t beacon_ie_len) ath6kl_add_bss_if_needed() argument 735 ath6kl_cfg80211_connect_event(struct ath6kl_vif *vif, u16 channel, u8 *bssid, u16 listen_intvl, u16 beacon_intvl, enum network_type nw_type, u8 beacon_ie_len, u8 assoc_req_len, u8 assoc_resp_len, u8 *assoc_info) ath6kl_cfg80211_connect_event() argument 1516 u8 if_idx, nw_type; ath6kl_cfg80211_add_iface() local 3777 ath6kl_interface_add(struct ath6kl *ar, const char *name, unsigned char name_assign_type, enum nl80211_iftype type, u8 fw_vif_idx, u8 nw_type) ath6kl_interface_add() argument [all...] |
H A D | cfg80211.h | 30 u8 fw_vif_idx, u8 nw_type); 38 enum network_type nw_type,
|
H A D | main.c | 35 max_conn = (vif->nw_type == AP_NETWORK) ? AP_MAX_NUM_STA : 0; in ath6kl_find_sta() 583 switch (vif->nw_type) { in ath6kl_commit_ch_switch() 600 ath6kl_err("won't switch channels nw_type=%d\n", vif->nw_type); in ath6kl_commit_ch_switch() 622 ath6kl_err("channel switch failed nw_type %d res %d\n", in ath6kl_check_ch_switch() 623 vif->nw_type, res); in ath6kl_check_ch_switch() 645 if (vif->nw_type == INFRA_NETWORK) { in ath6kl_connect_event() 663 if ((vif->nw_type == ADHOC_NETWORK) && ar->ibss_ps_enable) { in ath6kl_connect_event() 686 if (vif->nw_type == AP_NETWORK) { in ath6kl_tkip_micerr_event() 830 if (vif->nw_type in ath6kl_tgt_stats_event() [all...] |
H A D | txrx.c | 388 if (vif->nw_type == AP_NETWORK) { in ath6kl_data_tx() 438 if ((vif->nw_type == ADHOC_NETWORK) && in ath6kl_data_tx() 627 if (vif->nw_type == ADHOC_NETWORK || in ath6kl_tx_queue_full() 649 if (vif->nw_type != ADHOC_NETWORK) in ath6kl_tx_clear_node_map() 1389 if (vif->nw_type != AP_NETWORK && in ath6kl_rx() 1404 if (vif->nw_type == AP_NETWORK) { in ath6kl_rx() 1565 if (vif->nw_type == AP_NETWORK) { in ath6kl_rx() 1602 if (vif->nw_type == AP_NETWORK) { in ath6kl_rx() 1707 if (vif->nw_type == AP_NETWORK) { in aggr_recv_addba_req_evt() 1800 if (vif->nw_type in aggr_recv_delba_req_evt() [all...] |
H A D | wmi.c | 621 if (vif->probe_req_report || vif->nw_type == AP_NETWORK) in ath6kl_wmi_rx_probe_req_event_rx() 865 if (vif->nw_type == AP_NETWORK) { in ath6kl_wmi_connect_event_rx() 903 le32_to_cpu(ev->u.sta.nw_type)); in ath6kl_wmi_connect_event_rx() 936 le32_to_cpu(ev->u.sta.nw_type), in ath6kl_wmi_connect_event_rx() 1586 if (vif->nw_type != INFRA_NETWORK || in ath6kl_wmi_txe_notify_event_rx() 1848 enum network_type nw_type, in ath6kl_wmi_connect_cmd() 1865 bssid, channel, ctrl_flags, ssid_len, nw_type, in ath6kl_wmi_connect_cmd() 1887 cc->nw_type = nw_type; in ath6kl_wmi_connect_cmd() 3406 "%s: nw_type in ath6kl_wmi_ap_profile_commit() 1847 ath6kl_wmi_connect_cmd(struct wmi *wmi, u8 if_idx, enum network_type nw_type, enum dot11_auth_mode dot11_auth_mode, enum auth_mode auth_mode, enum ath6kl_crypto_type pairwise_crypto, u8 pairwise_crypto_len, enum ath6kl_crypto_type group_crypto, u8 group_crypto_len, int ssid_len, u8 *ssid, u8 *bssid, u16 channel, u32 ctrl_flags, u8 nw_subtype) ath6kl_wmi_connect_cmd() argument [all...] |
H A D | wmi.h | 736 u8 nw_type; member 1527 __le32 nw_type; member 2556 enum network_type nw_type,
|
H A D | core.h | 618 u8 nw_type; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 367 static int ath6kl_nliftype_to_drv_iftype(enum nl80211_iftype type, u8 *nw_type) in ath6kl_nliftype_to_drv_iftype() argument 372 *nw_type = INFRA_NETWORK; in ath6kl_nliftype_to_drv_iftype() 375 *nw_type = ADHOC_NETWORK; in ath6kl_nliftype_to_drv_iftype() 379 *nw_type = AP_NETWORK; in ath6kl_nliftype_to_drv_iftype() 390 u8 *if_idx, u8 *nw_type) in ath6kl_is_valid_iftype() 394 if (ath6kl_nliftype_to_drv_iftype(type, nw_type)) in ath6kl_is_valid_iftype() 437 if (vif->nw_type != INFRA_NETWORK) in ath6kl_cfg80211_sta_bmiss_enhance() 601 vif->nw_type = vif->next_mode; in ath6kl_cfg80211_connect() 620 if (vif->nw_type == INFRA_NETWORK) { in ath6kl_cfg80211_connect() 633 status = ath6kl_wmi_connect_cmd(ar->wmi, vif->fw_vif_idx, vif->nw_type, in ath6kl_cfg80211_connect() 389 ath6kl_is_valid_iftype(struct ath6kl *ar, enum nl80211_iftype type, u8 *if_idx, u8 *nw_type) ath6kl_is_valid_iftype() argument 679 ath6kl_add_bss_if_needed(struct ath6kl_vif *vif, enum network_type nw_type, const u8 *bssid, struct ieee80211_channel *chan, const u8 *beacon_ie, size_t beacon_ie_len) ath6kl_add_bss_if_needed() argument 735 ath6kl_cfg80211_connect_event(struct ath6kl_vif *vif, u16 channel, u8 *bssid, u16 listen_intvl, u16 beacon_intvl, enum network_type nw_type, u8 beacon_ie_len, u8 assoc_req_len, u8 assoc_resp_len, u8 *assoc_info) ath6kl_cfg80211_connect_event() argument 1516 u8 if_idx, nw_type; ath6kl_cfg80211_add_iface() local 3779 ath6kl_interface_add(struct ath6kl *ar, const char *name, unsigned char name_assign_type, enum nl80211_iftype type, u8 fw_vif_idx, u8 nw_type) ath6kl_interface_add() argument [all...] |
H A D | cfg80211.h | 30 u8 fw_vif_idx, u8 nw_type); 38 enum network_type nw_type,
|
H A D | main.c | 35 max_conn = (vif->nw_type == AP_NETWORK) ? AP_MAX_NUM_STA : 0; in ath6kl_find_sta() 583 switch (vif->nw_type) { in ath6kl_commit_ch_switch() 600 ath6kl_err("won't switch channels nw_type=%d\n", vif->nw_type); in ath6kl_commit_ch_switch() 622 ath6kl_err("channel switch failed nw_type %d res %d\n", in ath6kl_check_ch_switch() 623 vif->nw_type, res); in ath6kl_check_ch_switch() 645 if (vif->nw_type == INFRA_NETWORK) { in ath6kl_connect_event() 663 if ((vif->nw_type == ADHOC_NETWORK) && ar->ibss_ps_enable) { in ath6kl_connect_event() 686 if (vif->nw_type == AP_NETWORK) { in ath6kl_tkip_micerr_event() 830 if (vif->nw_type in ath6kl_tgt_stats_event() [all...] |
H A D | txrx.c | 388 if (vif->nw_type == AP_NETWORK) { in ath6kl_data_tx() 438 if ((vif->nw_type == ADHOC_NETWORK) && in ath6kl_data_tx() 627 if (vif->nw_type == ADHOC_NETWORK || in ath6kl_tx_queue_full() 649 if (vif->nw_type != ADHOC_NETWORK) in ath6kl_tx_clear_node_map() 1389 if (vif->nw_type != AP_NETWORK && in ath6kl_rx() 1404 if (vif->nw_type == AP_NETWORK) { in ath6kl_rx() 1565 if (vif->nw_type == AP_NETWORK) { in ath6kl_rx() 1602 if (vif->nw_type == AP_NETWORK) { in ath6kl_rx() 1707 if (vif->nw_type == AP_NETWORK) { in aggr_recv_addba_req_evt() 1800 if (vif->nw_type in aggr_recv_delba_req_evt() [all...] |
H A D | wmi.c | 621 if (vif->probe_req_report || vif->nw_type == AP_NETWORK) in ath6kl_wmi_rx_probe_req_event_rx() 865 if (vif->nw_type == AP_NETWORK) { in ath6kl_wmi_connect_event_rx() 903 le32_to_cpu(ev->u.sta.nw_type)); in ath6kl_wmi_connect_event_rx() 936 le32_to_cpu(ev->u.sta.nw_type), in ath6kl_wmi_connect_event_rx() 1586 if (vif->nw_type != INFRA_NETWORK || in ath6kl_wmi_txe_notify_event_rx() 1845 enum network_type nw_type, in ath6kl_wmi_connect_cmd() 1862 bssid, channel, ctrl_flags, ssid_len, nw_type, in ath6kl_wmi_connect_cmd() 1884 cc->nw_type = nw_type; in ath6kl_wmi_connect_cmd() 3392 "%s: nw_type in ath6kl_wmi_ap_profile_commit() 1844 ath6kl_wmi_connect_cmd(struct wmi *wmi, u8 if_idx, enum network_type nw_type, enum dot11_auth_mode dot11_auth_mode, enum auth_mode auth_mode, enum ath6kl_crypto_type pairwise_crypto, u8 pairwise_crypto_len, enum ath6kl_crypto_type group_crypto, u8 group_crypto_len, int ssid_len, u8 *ssid, u8 *bssid, u16 channel, u32 ctrl_flags, u8 nw_subtype) ath6kl_wmi_connect_cmd() argument [all...] |
H A D | wmi.h | 736 u8 nw_type; member 1527 __le32 nw_type; member 2556 enum network_type nw_type,
|
H A D | core.h | 618 u8 nw_type; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 615 u8 nw_type; in bnxt_re_stack_to_dev_nw_type() local 619 nw_type = CMDQ_CREATE_AH_TYPE_V2IPV4; in bnxt_re_stack_to_dev_nw_type() 622 nw_type = CMDQ_CREATE_AH_TYPE_V2IPV6; in bnxt_re_stack_to_dev_nw_type() 625 nw_type = CMDQ_CREATE_AH_TYPE_V1; in bnxt_re_stack_to_dev_nw_type() 628 return nw_type; in bnxt_re_stack_to_dev_nw_type() 642 u8 nw_type; in bnxt_re_create_ah() local 669 nw_type = rdma_gid_attr_network_type(sgid_attr); in bnxt_re_create_ah() 670 ah->qplib_ah.nw_type = bnxt_re_stack_to_dev_nw_type(nw_type); in bnxt_re_create_ah() 1829 u8 nw_type; in bnxt_re_modify_qp() local 2130 u8 nw_type; bnxt_re_build_qp1_send_v2() local 3074 bnxt_re_to_ib_nw_type(int nw_type) bnxt_re_to_ib_nw_type() argument 3323 int nw_type; bnxt_re_process_res_shadow_qp_wc() local 3369 u8 nw_type; bnxt_re_process_res_ud_wc() local [all...] |
H A D | qplib_sp.h | 104 u8 nw_type; member
|
H A D | qplib_fp.h | 298 u8 nw_type; member
|
H A D | qplib_sp.c | 512 req.type = ah->nw_type; in bnxt_qplib_create_ah()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 704 u8 nw_type; in bnxt_re_stack_to_dev_nw_type() local 708 nw_type = CMDQ_CREATE_AH_TYPE_V2IPV4; in bnxt_re_stack_to_dev_nw_type() 711 nw_type = CMDQ_CREATE_AH_TYPE_V2IPV6; in bnxt_re_stack_to_dev_nw_type() 714 nw_type = CMDQ_CREATE_AH_TYPE_V1; in bnxt_re_stack_to_dev_nw_type() 717 return nw_type; in bnxt_re_stack_to_dev_nw_type() 732 u8 nw_type; in bnxt_re_create_ah() local 759 nw_type = rdma_gid_attr_network_type(sgid_attr); in bnxt_re_create_ah() 760 ah->qplib_ah.nw_type = bnxt_re_stack_to_dev_nw_type(nw_type); in bnxt_re_create_ah() 1926 u8 nw_type; in bnxt_re_modify_qp() local 2230 u8 nw_type; bnxt_re_build_qp1_send_v2() local 3281 bnxt_re_to_ib_nw_type(int nw_type) bnxt_re_to_ib_nw_type() argument 3525 int nw_type; bnxt_re_process_res_shadow_qp_wc() local 3571 u8 nw_type; bnxt_re_process_res_ud_wc() local [all...] |
H A D | qplib_sp.h | 104 u8 nw_type; member
|
H A D | qplib_fp.h | 300 u8 nw_type; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wcn36xx/ |
H A D | smd.c | 208 bss_params->nw_type = WCN36XX_HAL_11A_NW_TYPE; in wcn36xx_smd_set_bss_nw_type() 210 bss_params->nw_type = WCN36XX_HAL_11N_NW_TYPE; in wcn36xx_smd_set_bss_nw_type() 212 bss_params->nw_type = WCN36XX_HAL_11G_NW_TYPE; in wcn36xx_smd_set_bss_nw_type() 214 bss_params->nw_type = WCN36XX_HAL_11B_NW_TYPE; in wcn36xx_smd_set_bss_nw_type() 1550 bss->nw_type = WCN36XX_HAL_11N_NW_TYPE; in wcn36xx_smd_set_bss_params() 1635 bss->nw_type = bss_v0.nw_type; in wcn36xx_smd_config_bss_v1() 1705 "hal config bss v1 bssid %pM self_mac_addr %pM bss_type %d oper_mode %d nw_type %d\n", in wcn36xx_smd_config_bss_v1() 1707 bss->oper_mode, bss->nw_type); in wcn36xx_smd_config_bss_v1() 1746 "hal config bss bssid %pM self_mac_addr %pM bss_type %d oper_mode %d nw_type in wcn36xx_smd_config_bss_v0() [all...] |
H A D | hal.h | 1873 enum wcn36xx_hal_nw_type nw_type; member 2020 enum wcn36xx_hal_nw_type nw_type; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wcn36xx/ |
H A D | smd.c | 211 bss_params->nw_type = WCN36XX_HAL_11A_NW_TYPE; in wcn36xx_smd_set_bss_nw_type() 213 bss_params->nw_type = WCN36XX_HAL_11N_NW_TYPE; in wcn36xx_smd_set_bss_nw_type() 215 bss_params->nw_type = WCN36XX_HAL_11G_NW_TYPE; in wcn36xx_smd_set_bss_nw_type() 217 bss_params->nw_type = WCN36XX_HAL_11B_NW_TYPE; in wcn36xx_smd_set_bss_nw_type() 1626 bss->nw_type = WCN36XX_HAL_11N_NW_TYPE; in wcn36xx_smd_set_bss_params() 1711 bss->nw_type = bss_v0.nw_type; in wcn36xx_smd_config_bss_v1() 1781 "hal config bss v1 bssid %pM self_mac_addr %pM bss_type %d oper_mode %d nw_type %d\n", in wcn36xx_smd_config_bss_v1() 1783 bss->oper_mode, bss->nw_type); in wcn36xx_smd_config_bss_v1() 1822 "hal config bss bssid %pM self_mac_addr %pM bss_type %d oper_mode %d nw_type in wcn36xx_smd_config_bss_v0() [all...] |
H A D | hal.h | 1905 enum wcn36xx_hal_nw_type nw_type; member 2052 enum wcn36xx_hal_nw_type nw_type; member
|