Home
last modified time | relevance | path

Searched refs:sta_ptr (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dtdls.c191 struct mwifiex_sta_node *sta_ptr; in mwifiex_tdls_add_ht_oper() local
196 sta_ptr = mwifiex_get_sta_entry(priv, mac); in mwifiex_tdls_add_ht_oper()
197 if (unlikely(!sta_ptr)) { in mwifiex_tdls_add_ht_oper()
203 if (!(le16_to_cpu(sta_ptr->tdls_cap.ht_capb.cap_info))) { in mwifiex_tdls_add_ht_oper()
228 memcpy(&sta_ptr->tdls_cap.ht_oper, ht_oper, in mwifiex_tdls_add_ht_oper()
240 struct mwifiex_sta_node *sta_ptr; in mwifiex_tdls_add_vht_oper() local
250 sta_ptr = mwifiex_get_sta_entry(priv, mac); in mwifiex_tdls_add_vht_oper()
251 if (unlikely(!sta_ptr)) { in mwifiex_tdls_add_vht_oper()
257 if (!(le32_to_cpu(sta_ptr->tdls_cap.vhtcap.vht_cap_info))) { in mwifiex_tdls_add_vht_oper()
264 if (sta_ptr->tdls_cap.extcap.ext_capab[7] & in mwifiex_tdls_add_vht_oper()
[all …]
Dsta_event.c31 struct mwifiex_sta_node *sta_ptr, in mwifiex_check_ibss_peer_capabilities() argument
75 sta_ptr->is_11n_enabled = true; in mwifiex_check_ibss_peer_capabilities()
77 sta_ptr->max_amsdu = le16_to_cpu(ht_cap->cap_info) & in mwifiex_check_ibss_peer_capabilities()
83 sta_ptr->max_amsdu); in mwifiex_check_ibss_peer_capabilities()
87 sta_ptr->is_11ac_enabled = true; in mwifiex_check_ibss_peer_capabilities()
92 sta_ptr->max_amsdu = in mwifiex_check_ibss_peer_capabilities()
96 sta_ptr->max_amsdu = in mwifiex_check_ibss_peer_capabilities()
100 sta_ptr->max_amsdu = in mwifiex_check_ibss_peer_capabilities()
109 sta_ptr->max_amsdu); in mwifiex_check_ibss_peer_capabilities()
258 struct mwifiex_sta_node *sta_ptr; in mwifiex_parse_tdls_event() local
[all …]
Dsta_rx.c199 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_sta_rx_packet() local
244 sta_ptr = mwifiex_get_sta_entry(priv, ta); in mwifiex_process_sta_rx_packet()
245 if (sta_ptr) in mwifiex_process_sta_rx_packet()
246 sta_ptr->rx_seq[local_rx_pd->priority] = in mwifiex_process_sta_rx_packet()
Dutil.c556 struct mwifiex_sta_node *sta_ptr; in mwifiex_is_tdls_chan_switching() local
561 sta_ptr = mwifiex_get_tdls_sta_entry(priv, TDLS_CHAN_SWITCHING); in mwifiex_is_tdls_chan_switching()
562 if (sta_ptr) in mwifiex_is_tdls_chan_switching()
570 struct mwifiex_sta_node *sta_ptr; in mwifiex_is_tdls_off_chan() local
575 sta_ptr = mwifiex_get_tdls_sta_entry(priv, TDLS_IN_OFF_CHAN); in mwifiex_is_tdls_off_chan()
576 if (sta_ptr) in mwifiex_is_tdls_off_chan()
D11n.c606 struct mwifiex_sta_node *sta_ptr; in mwifiex_send_addba() local
609 sta_ptr = mwifiex_get_sta_entry(priv, peer_mac); in mwifiex_send_addba()
610 if (!sta_ptr) { in mwifiex_send_addba()
617 if (sta_ptr->is_11ac_enabled) in mwifiex_send_addba()
D11n_rxreorder.c470 struct mwifiex_sta_node *sta_ptr; in mwifiex_cmd_11n_addba_rsp_gen() local
481 sta_ptr = mwifiex_get_sta_entry(priv, in mwifiex_cmd_11n_addba_rsp_gen()
483 if (!sta_ptr) { in mwifiex_cmd_11n_addba_rsp_gen()
490 if (sta_ptr->is_11ac_enabled) in mwifiex_cmd_11n_addba_rsp_gen()
Dcfg80211.c3892 struct mwifiex_sta_node *sta_ptr; in mwifiex_cfg80211_tdls_chan_switch() local
3898 sta_ptr = mwifiex_get_sta_entry(priv, addr); in mwifiex_cfg80211_tdls_chan_switch()
3899 if (!sta_ptr) { in mwifiex_cfg80211_tdls_chan_switch()
3906 if (!(sta_ptr->tdls_cap.extcap.ext_capab[3] & in mwifiex_cfg80211_tdls_chan_switch()
3913 if (sta_ptr->tdls_status == TDLS_CHAN_SWITCHING || in mwifiex_cfg80211_tdls_chan_switch()
3914 sta_ptr->tdls_status == TDLS_IN_OFF_CHAN) { in mwifiex_cfg80211_tdls_chan_switch()
3934 struct mwifiex_sta_node *sta_ptr; in mwifiex_cfg80211_tdls_cancel_chan_switch() local
3938 sta_ptr = mwifiex_get_sta_entry(priv, addr); in mwifiex_cfg80211_tdls_cancel_chan_switch()
3939 if (!sta_ptr) { in mwifiex_cfg80211_tdls_cancel_chan_switch()
3943 } else if (!(sta_ptr->tdls_status == TDLS_CHAN_SWITCHING || in mwifiex_cfg80211_tdls_cancel_chan_switch()
[all …]
/linux-5.19.10/drivers/net/wireless/intersil/hostap/
Dhostap_ioctl.c3195 void *sta_ptr; in prism2_ioctl_siwencodeext() local
3211 sta_ptr = NULL; in prism2_ioctl_siwencodeext()
3216 sta_ptr = ap_crypt_get_ptrs(local->ap, addr, 0, &crypt); in prism2_ioctl_siwencodeext()
3217 if (sta_ptr == NULL) { in prism2_ioctl_siwencodeext()
3270 if (sta_ptr || ext->alg != IW_ENCODE_ALG_WEP) { in prism2_ioctl_siwencodeext()
3319 if (!sta_ptr) in prism2_ioctl_siwencodeext()
3324 if (sta_ptr == NULL && ext->key_len > 0) { in prism2_ioctl_siwencodeext()
3337 if (sta_ptr) in prism2_ioctl_siwencodeext()
3338 hostap_handle_sta_release(sta_ptr); in prism2_ioctl_siwencodeext()
3366 void *sta_ptr; in prism2_ioctl_giwencodeext() local
[all …]
Dhostap_ap.h234 void *sta_ptr; member
249 void **sta_ptr);
Dhostap_80211_tx.c399 tx.sta_ptr = NULL; in hostap_master_start_xmit()
548 if (tx.sta_ptr) in hostap_master_start_xmit()
549 hostap_handle_sta_release(tx.sta_ptr); in hostap_master_start_xmit()
Dhostap_ap.c2804 tx->sta_ptr = sta; /* hostap_handle_sta_release() will in hostap_handle_sta_tx()
3065 void **sta_ptr) in hostap_handle_sta_crypto() argument
3080 *sta_ptr = sta; in hostap_handle_sta_crypto()