Home
last modified time | relevance | path

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

/drivers/net/wireless/mwifiex/
Dtdls.c195 struct mwifiex_sta_node *sta_ptr; in mwifiex_tdls_add_ht_oper() local
200 sta_ptr = mwifiex_get_sta_entry(priv, mac); in mwifiex_tdls_add_ht_oper()
201 if (unlikely(!sta_ptr)) { in mwifiex_tdls_add_ht_oper()
207 if (!(le16_to_cpu(sta_ptr->tdls_cap.ht_capb.cap_info))) { in mwifiex_tdls_add_ht_oper()
232 memcpy(&sta_ptr->tdls_cap.ht_oper, ht_oper, in mwifiex_tdls_add_ht_oper()
244 struct mwifiex_sta_node *sta_ptr; in mwifiex_tdls_add_vht_oper() local
254 sta_ptr = mwifiex_get_sta_entry(priv, mac); in mwifiex_tdls_add_vht_oper()
255 if (unlikely(!sta_ptr)) { in mwifiex_tdls_add_vht_oper()
261 if (!(le32_to_cpu(sta_ptr->tdls_cap.vhtcap.vht_cap_info))) { in mwifiex_tdls_add_vht_oper()
268 if (sta_ptr->tdls_cap.extcap.ext_capab[7] & in mwifiex_tdls_add_vht_oper()
[all …]
Dsta_event.c154 struct mwifiex_sta_node *sta_ptr; in mwifiex_parse_tdls_event() local
166 sta_ptr = mwifiex_get_sta_entry(priv, tdls_evt->peer_mac); in mwifiex_parse_tdls_event()
167 if (!sta_ptr) { in mwifiex_parse_tdls_event()
192 sta_ptr->tdls_status = TDLS_IN_BASE_CHAN; in mwifiex_parse_tdls_event()
195 sta_ptr->tdls_status = TDLS_IN_OFF_CHAN; in mwifiex_parse_tdls_event()
206 if (sta_ptr->tdls_status == TDLS_IN_BASE_CHAN) in mwifiex_parse_tdls_event()
210 sta_ptr->tdls_status = TDLS_IN_BASE_CHAN; in mwifiex_parse_tdls_event()
213 if (sta_ptr->tdls_status == TDLS_IN_OFF_CHAN) in mwifiex_parse_tdls_event()
217 sta_ptr->tdls_status = TDLS_IN_OFF_CHAN; in mwifiex_parse_tdls_event()
226 sta_ptr->tdls_status = TDLS_CHAN_SWITCHING; in mwifiex_parse_tdls_event()
[all …]
Dsta_rx.c196 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_sta_rx_packet() local
241 sta_ptr = mwifiex_get_sta_entry(priv, ta); in mwifiex_process_sta_rx_packet()
242 if (sta_ptr) in mwifiex_process_sta_rx_packet()
243 sta_ptr->rx_seq[local_rx_pd->priority] = in mwifiex_process_sta_rx_packet()
Dutil.c552 struct mwifiex_sta_node *sta_ptr; in mwifiex_is_tdls_chan_switching() local
557 sta_ptr = mwifiex_get_tdls_sta_entry(priv, TDLS_CHAN_SWITCHING); in mwifiex_is_tdls_chan_switching()
558 if (sta_ptr) in mwifiex_is_tdls_chan_switching()
566 struct mwifiex_sta_node *sta_ptr; in mwifiex_is_tdls_off_chan() local
571 sta_ptr = mwifiex_get_tdls_sta_entry(priv, TDLS_IN_OFF_CHAN); in mwifiex_is_tdls_off_chan()
572 if (sta_ptr) in mwifiex_is_tdls_off_chan()
D11n_rxreorder.c455 struct mwifiex_sta_node *sta_ptr; in mwifiex_cmd_11n_addba_rsp_gen() local
467 sta_ptr = mwifiex_get_sta_entry(priv, in mwifiex_cmd_11n_addba_rsp_gen()
469 if (!sta_ptr) { in mwifiex_cmd_11n_addba_rsp_gen()
476 if (sta_ptr->is_11ac_enabled) in mwifiex_cmd_11n_addba_rsp_gen()
D11n.c579 struct mwifiex_sta_node *sta_ptr; in mwifiex_send_addba() local
582 sta_ptr = mwifiex_get_sta_entry(priv, peer_mac); in mwifiex_send_addba()
583 if (!sta_ptr) { in mwifiex_send_addba()
590 if (sta_ptr->is_11ac_enabled) in mwifiex_send_addba()
Dcfg80211.c3433 struct mwifiex_sta_node *sta_ptr; in mwifiex_cfg80211_tdls_chan_switch() local
3440 sta_ptr = mwifiex_get_sta_entry(priv, addr); in mwifiex_cfg80211_tdls_chan_switch()
3443 if (!sta_ptr) { in mwifiex_cfg80211_tdls_chan_switch()
3449 if (!(sta_ptr->tdls_cap.extcap.ext_capab[3] & in mwifiex_cfg80211_tdls_chan_switch()
3455 if (sta_ptr->tdls_status == TDLS_CHAN_SWITCHING || in mwifiex_cfg80211_tdls_chan_switch()
3456 sta_ptr->tdls_status == TDLS_IN_OFF_CHAN) { in mwifiex_cfg80211_tdls_chan_switch()
3474 struct mwifiex_sta_node *sta_ptr; in mwifiex_cfg80211_tdls_cancel_chan_switch() local
3479 sta_ptr = mwifiex_get_sta_entry(priv, addr); in mwifiex_cfg80211_tdls_cancel_chan_switch()
3482 if (!sta_ptr) { in mwifiex_cfg80211_tdls_cancel_chan_switch()
3485 } else if (!(sta_ptr->tdls_status == TDLS_CHAN_SWITCHING || in mwifiex_cfg80211_tdls_cancel_chan_switch()
[all …]
Dsta_cmd.c1676 struct mwifiex_sta_node *sta_ptr; in mwifiex_cmd_tdls_oper() local
1694 sta_ptr = mwifiex_get_sta_entry(priv, oper->peer_mac); in mwifiex_cmd_tdls_oper()
/drivers/net/wireless/hostap/
Dhostap_ioctl.c3210 void *sta_ptr; in prism2_ioctl_siwencodeext() local
3226 sta_ptr = NULL; in prism2_ioctl_siwencodeext()
3231 sta_ptr = ap_crypt_get_ptrs(local->ap, addr, 0, &crypt); in prism2_ioctl_siwencodeext()
3232 if (sta_ptr == NULL) { in prism2_ioctl_siwencodeext()
3285 if (sta_ptr || ext->alg != IW_ENCODE_ALG_WEP) { in prism2_ioctl_siwencodeext()
3334 if (!sta_ptr) in prism2_ioctl_siwencodeext()
3339 if (sta_ptr == NULL && ext->key_len > 0) { in prism2_ioctl_siwencodeext()
3352 if (sta_ptr) in prism2_ioctl_siwencodeext()
3353 hostap_handle_sta_release(sta_ptr); in prism2_ioctl_siwencodeext()
3381 void *sta_ptr; in prism2_ioctl_giwencodeext() local
[all …]
Dhostap_ap.h233 void *sta_ptr; member
248 void **sta_ptr);
Dhostap_80211_tx.c398 tx.sta_ptr = NULL; in hostap_master_start_xmit()
547 if (tx.sta_ptr) in hostap_master_start_xmit()
548 hostap_handle_sta_release(tx.sta_ptr); in hostap_master_start_xmit()
Dhostap_ap.c2866 tx->sta_ptr = sta; /* hostap_handle_sta_release() will in hostap_handle_sta_tx()
3127 void **sta_ptr) in hostap_handle_sta_crypto() argument
3142 *sta_ptr = sta; in hostap_handle_sta_crypto()