Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_sta_rx.c171 sta_node *sta_ptr = MNULL; in wlan_process_tdls_action_frame() local
207 sta_ptr = wlan_add_station_entry(priv, peer); in wlan_process_tdls_action_frame()
208 if (!sta_ptr) in wlan_process_tdls_action_frame()
211 sta_ptr->status = TDLS_NOT_SETUP; in wlan_process_tdls_action_frame()
219 sta_ptr->capability = mlan_ntohs(*(t_u16 *)pos); in wlan_process_tdls_action_frame()
229 sta_ptr->capability = mlan_ntohs(*(t_u16 *)pos); in wlan_process_tdls_action_frame()
246 sta_ptr->rate_len = in wlan_process_tdls_action_frame()
247 MIN(pos[1], sizeof(sta_ptr->support_rate)); in wlan_process_tdls_action_frame()
248 for (i = 0; i < sta_ptr->rate_len; i++) in wlan_process_tdls_action_frame()
249 sta_ptr->support_rate[i] = pos[2 + i]; in wlan_process_tdls_action_frame()
[all …]
H A Dmlan_11n.h141 sta_node *sta_ptr = MNULL; in is_station_11n_enabled() local
142 sta_ptr = wlan_get_station_entry(priv, mac); in is_station_11n_enabled()
143 if (sta_ptr) in is_station_11n_enabled()
144 return (sta_ptr->is_11n_enabled) ? MTRUE : MFALSE; in is_station_11n_enabled()
157 sta_node *sta_ptr = MNULL; in get_station_max_amsdu_size() local
158 sta_ptr = wlan_get_station_entry(priv, mac); in get_station_max_amsdu_size()
159 if (sta_ptr) in get_station_max_amsdu_size()
160 return sta_ptr->max_amsdu; in get_station_max_amsdu_size()
175 sta_node *sta_ptr = MNULL; in is_station_ampdu_allowed() local
176 sta_ptr = wlan_get_station_entry(priv, ptr->ra); in is_station_ampdu_allowed()
[all …]
H A Dmlan_sta_event.c81 sta_node *sta_ptr = MNULL; in wlan_parse_tdls_event() local
101 sta_ptr = wlan_get_station_entry(priv, tdls_event->peer_mac_addr); in wlan_parse_tdls_event()
107 if (sta_ptr == MNULL) { in wlan_parse_tdls_event()
108 sta_ptr = wlan_add_station_entry( in wlan_parse_tdls_event()
110 if (sta_ptr) { in wlan_parse_tdls_event()
111 sta_ptr->status = TDLS_SETUP_INPROGRESS; in wlan_parse_tdls_event()
119 if (sta_ptr) { in wlan_parse_tdls_event()
120 sta_ptr->status = TDLS_SETUP_COMPLETE; in wlan_parse_tdls_event()
131 sta_ptr->is_11n_enabled = MTRUE; in wlan_parse_tdls_event()
134 sta_ptr->max_amsdu = in wlan_parse_tdls_event()
[all …]
H A Dmlan_misc.c1806 sta_node *sta_ptr; in wlan_get_station_entry() local
1814 sta_ptr = (sta_node *)util_peek_list(priv->adapter->pmoal_handle, in wlan_get_station_entry()
1817 while (sta_ptr && (sta_ptr != (sta_node *)&priv->sta_list)) { in wlan_get_station_entry()
1818 if (!memcmp(priv->adapter, sta_ptr->mac_addr, mac, in wlan_get_station_entry()
1821 return sta_ptr; in wlan_get_station_entry()
1823 sta_ptr = sta_ptr->pnext; in wlan_get_station_entry()
1840 sta_node *sta_ptr = MNULL; in wlan_add_station_entry() local
1844 sta_ptr = wlan_get_station_entry(priv, mac); in wlan_add_station_entry()
1845 if (sta_ptr) in wlan_add_station_entry()
1849 (t_u8 **)&sta_ptr)) { in wlan_add_station_entry()
[all …]
H A Dmlan_sta_cmd.c1868 sta_node *sta_ptr; in wlan_cmd_tdls_oper() local
1896 sta_ptr = wlan_get_station_entry(pmpriv, tdls_oper->peer_mac); in wlan_cmd_tdls_oper()
1900 if (sta_ptr) in wlan_cmd_tdls_oper()
1901 sta_ptr->status = TDLS_SETUP_INPROGRESS; in wlan_cmd_tdls_oper()
1905 if (sta_ptr) { in wlan_cmd_tdls_oper()
1908 *(t_u16 *)pos = wlan_cpu_to_le16(sta_ptr->capability); in wlan_cmd_tdls_oper()
1909 travel_len += sizeof(sta_ptr->capability); in wlan_cmd_tdls_oper()
1917 wlan_cpu_to_le16(sta_ptr->rate_len); in wlan_cmd_tdls_oper()
1921 sta_ptr->support_rate, sta_ptr->rate_len, in wlan_cmd_tdls_oper()
1922 sta_ptr->rate_len); in wlan_cmd_tdls_oper()
[all …]
H A Dmlan_uap_txrx.c119 sta_node *sta_ptr = MNULL; in wlan_check_unicast_packet() local
130 sta_ptr = wlan_get_station_entry(pmpriv, mac); in wlan_check_unicast_packet()
131 if (sta_ptr) { in wlan_check_unicast_packet()
338 sta_node *sta_ptr = MNULL; in wlan_ops_uap_process_rx_packet() local
438 sta_ptr = wlan_get_station_entry(priv, prx_pkt->eth803_hdr.src_addr); in wlan_ops_uap_process_rx_packet()
439 if (sta_ptr) { in wlan_ops_uap_process_rx_packet()
440 sta_ptr->snr = prx_pd->snr; in wlan_ops_uap_process_rx_packet()
441 sta_ptr->nf = prx_pd->nf; in wlan_ops_uap_process_rx_packet()
444 sta_ptr->stats.last_rx_in_msec = in wlan_ops_uap_process_rx_packet()
447 sta_ptr->stats.rx_packets++; in wlan_ops_uap_process_rx_packet()
[all …]
H A Dmlan_uap_cmdevent.c330 sta_node *sta_ptr; in wlan_notify_station_deauth() local
336 sta_ptr = (sta_node *)util_peek_list( in wlan_notify_station_deauth()
340 if (!sta_ptr) { in wlan_notify_station_deauth()
344 while (sta_ptr != (sta_node *)&priv->sta_list) { in wlan_notify_station_deauth()
351 memcpy_ext(priv->adapter, pbuf + 2, sta_ptr->mac_addr, in wlan_notify_station_deauth()
354 sta_ptr = sta_ptr->pnext; in wlan_notify_station_deauth()
582 sta_node *sta_ptr = MNULL; in wlan_process_tx_pause_event() local
619 sta_ptr = wlan_get_station_entry( in wlan_process_tx_pause_event()
621 if (sta_ptr) { in wlan_process_tx_pause_event()
622 if (sta_ptr->tx_pause != in wlan_process_tx_pause_event()
[all …]
H A Dmlan_sta_cmdresp.c67 sta_node *sta_ptr = MNULL; in wlan_process_cmdreps_error_tdls_operation() local
74 sta_ptr = wlan_get_station_entry(pmpriv, ptdls_oper_data->peer_mac); in wlan_process_cmdreps_error_tdls_operation()
78 if (reason != TDLS_LINK_EXISTS && sta_ptr) { in wlan_process_cmdreps_error_tdls_operation()
82 sta_ptr->status = TDLS_SETUP_FAILURE; in wlan_process_cmdreps_error_tdls_operation()
92 if (sta_ptr) in wlan_process_cmdreps_error_tdls_operation()
93 sta_ptr->status = TDLS_SETUP_FAILURE; in wlan_process_cmdreps_error_tdls_operation()
99 if (sta_ptr) { in wlan_process_cmdreps_error_tdls_operation()
102 sta_ptr->ExtCap.ext_cap)) in wlan_process_cmdreps_error_tdls_operation()
104 if (sta_ptr->is_11n_enabled || in wlan_process_cmdreps_error_tdls_operation()
105 sta_ptr->is_11ax_enabled) { in wlan_process_cmdreps_error_tdls_operation()
[all …]
H A Dmlan_11n_rxreorder.c442 sta_node *sta_ptr = MNULL; in wlan_11n_create_rxreorder_tbl() local
503 sta_ptr = wlan_get_station_entry(priv, ta); in wlan_11n_create_rxreorder_tbl()
504 if (sta_ptr) in wlan_11n_create_rxreorder_tbl()
505 last_seq = sta_ptr->rx_seq[tid]; in wlan_11n_create_rxreorder_tbl()
510 sta_ptr = wlan_get_station_entry(priv, ta); in wlan_11n_create_rxreorder_tbl()
511 if (sta_ptr) in wlan_11n_create_rxreorder_tbl()
512 last_seq = sta_ptr->rx_seq[tid]; in wlan_11n_create_rxreorder_tbl()
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A 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 …]
H A 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()
108 sta_ptr->max_amsdu); in mwifiex_check_ibss_peer_capabilities()
257 struct mwifiex_sta_node *sta_ptr; in mwifiex_parse_tdls_event() local
[all …]
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/
H A Dmlan_11n.h147 sta_node *sta_ptr = MNULL; in is_station_11n_enabled() local
148 sta_ptr = wlan_get_station_entry(priv, mac); in is_station_11n_enabled()
149 if (sta_ptr) in is_station_11n_enabled()
150 return (sta_ptr->is_11n_enabled) ? MTRUE : MFALSE; in is_station_11n_enabled()
164 sta_node *sta_ptr = MNULL; in get_station_max_amsdu_size() local
165 sta_ptr = wlan_get_station_entry(priv, mac); in get_station_max_amsdu_size()
166 if (sta_ptr) in get_station_max_amsdu_size()
167 return sta_ptr->max_amsdu; in get_station_max_amsdu_size()
182 sta_node *sta_ptr = MNULL; in is_station_ampdu_allowed() local
183 sta_ptr = wlan_get_station_entry(priv, ptr->ra); in is_station_ampdu_allowed()
[all …]
H A Dmlan_sta_rx.c76 sta_node *sta_ptr = MNULL; in wlan_process_tdls_action_frame() local
110 sta_ptr = wlan_add_station_entry(priv, peer); in wlan_process_tdls_action_frame()
111 if (!sta_ptr) in wlan_process_tdls_action_frame()
114 sta_ptr->status = TDLS_NOT_SETUP; in wlan_process_tdls_action_frame()
122 sta_ptr->capability = mlan_ntohs(*(t_u16 *)pos); in wlan_process_tdls_action_frame()
132 sta_ptr->capability = mlan_ntohs(*(t_u16 *)pos); in wlan_process_tdls_action_frame()
149 sta_ptr->rate_len = pos[1]; in wlan_process_tdls_action_frame()
151 sta_ptr->support_rate[i] = pos[2 + i]; in wlan_process_tdls_action_frame()
155 sta_ptr->support_rate[sta_ptr->rate_len + i] = in wlan_process_tdls_action_frame()
157 sta_ptr->rate_len += pos[1]; in wlan_process_tdls_action_frame()
[all …]
H A Dmlan_sta_event.c77 sta_node *sta_ptr = MNULL; in wlan_parse_tdls_event() local
97 sta_ptr = wlan_get_station_entry(priv, tdls_event->peer_mac_addr); in wlan_parse_tdls_event()
103 if (sta_ptr == MNULL) { in wlan_parse_tdls_event()
104 sta_ptr = in wlan_parse_tdls_event()
108 if (sta_ptr) { in wlan_parse_tdls_event()
109 sta_ptr->status = TDLS_SETUP_INPROGRESS; in wlan_parse_tdls_event()
118 if (sta_ptr) { in wlan_parse_tdls_event()
119 sta_ptr->status = TDLS_SETUP_COMPLETE; in wlan_parse_tdls_event()
132 sta_ptr->is_11n_enabled = MTRUE; in wlan_parse_tdls_event()
135 sta_ptr->max_amsdu = in wlan_parse_tdls_event()
[all …]
H A Dmlan_misc.c1682 sta_node *sta_ptr; in wlan_get_station_entry() local
1690 sta_ptr = (sta_node *)util_peek_list(priv->adapter->pmoal_handle, in wlan_get_station_entry()
1697 while (sta_ptr && (sta_ptr != (sta_node *)&priv->sta_list)) { in wlan_get_station_entry()
1699 (priv->adapter, sta_ptr->mac_addr, mac, in wlan_get_station_entry()
1702 return sta_ptr; in wlan_get_station_entry()
1704 sta_ptr = sta_ptr->pnext; in wlan_get_station_entry()
1722 sta_node *sta_ptr = MNULL; in wlan_add_station_entry() local
1729 sta_ptr = wlan_get_station_entry(priv, mac); in wlan_add_station_entry()
1730 if (sta_ptr) in wlan_add_station_entry()
1734 MLAN_MEM_DEF, (t_u8 **)&sta_ptr)) { in wlan_add_station_entry()
[all …]
H A Dmlan_sta_cmd.c1601 sta_node *sta_ptr; in wlan_cmd_tdls_oper() local
1624 sta_ptr = wlan_get_station_entry(pmpriv, tdls_oper->peer_mac); in wlan_cmd_tdls_oper()
1628 if (sta_ptr) in wlan_cmd_tdls_oper()
1629 sta_ptr->status = TDLS_SETUP_INPROGRESS; in wlan_cmd_tdls_oper()
1633 if (sta_ptr) { in wlan_cmd_tdls_oper()
1636 *(t_u16 *)pos = wlan_cpu_to_le16(sta_ptr->capability); in wlan_cmd_tdls_oper()
1637 travel_len += sizeof(sta_ptr->capability); in wlan_cmd_tdls_oper()
1646 wlan_cpu_to_le16(sta_ptr->rate_len); in wlan_cmd_tdls_oper()
1649 sta_ptr->support_rate, Rate_tlv->header.len); in wlan_cmd_tdls_oper()
1651 sizeof(MrvlIEtypesHeader_t) + sta_ptr->rate_len; in wlan_cmd_tdls_oper()
[all …]
H A Dmlan_sta_cmdresp.c65 sta_node *sta_ptr = MNULL; in wlan_process_cmdreps_error_tdls_operation() local
72 sta_ptr = wlan_get_station_entry(pmpriv, ptdls_oper_data->peer_mac); in wlan_process_cmdreps_error_tdls_operation()
76 if (reason != TDLS_LINK_EXISTS && sta_ptr) { in wlan_process_cmdreps_error_tdls_operation()
80 sta_ptr->status = TDLS_SETUP_FAILURE; in wlan_process_cmdreps_error_tdls_operation()
90 if (sta_ptr) in wlan_process_cmdreps_error_tdls_operation()
91 sta_ptr->status = TDLS_SETUP_FAILURE; in wlan_process_cmdreps_error_tdls_operation()
97 if (sta_ptr) { in wlan_process_cmdreps_error_tdls_operation()
100 (sta_ptr->ExtCap.ext_cap)) in wlan_process_cmdreps_error_tdls_operation()
102 if (sta_ptr->is_11n_enabled) { in wlan_process_cmdreps_error_tdls_operation()
110 if (sta_ptr->status >= TDLS_SETUP_INPROGRESS) in wlan_process_cmdreps_error_tdls_operation()
[all …]
H A Dmlan_uap_txrx.c112 sta_node *sta_ptr = MNULL; in wlan_check_unicast_packet() local
123 sta_ptr = wlan_get_station_entry(pmpriv, mac); in wlan_check_unicast_packet()
124 if (sta_ptr) { in wlan_check_unicast_packet()
304 sta_node *sta_ptr = MNULL; in wlan_ops_uap_process_rx_packet() local
412 sta_ptr = wlan_get_station_entry(priv, ta); in wlan_ops_uap_process_rx_packet()
413 if (sta_ptr) in wlan_ops_uap_process_rx_packet()
414 sta_ptr->rx_seq[prx_pd->priority] = prx_pd->seq_num; in wlan_ops_uap_process_rx_packet()
H A Dmlan_11n_rxreorder.c460 sta_node *sta_ptr = MNULL; in wlan_11n_create_rxreorder_tbl() local
493 sta_ptr = wlan_get_station_entry(priv, ta); in wlan_11n_create_rxreorder_tbl()
494 if (sta_ptr) in wlan_11n_create_rxreorder_tbl()
495 last_seq = sta_ptr->rx_seq[tid]; in wlan_11n_create_rxreorder_tbl()
498 sta_ptr = wlan_get_station_entry(priv, ta); in wlan_11n_create_rxreorder_tbl()
499 if (sta_ptr) in wlan_11n_create_rxreorder_tbl()
500 last_seq = sta_ptr->rx_seq[tid]; in wlan_11n_create_rxreorder_tbl()
505 sta_ptr = wlan_get_station_entry(priv, ta); in wlan_11n_create_rxreorder_tbl()
506 if (sta_ptr) in wlan_11n_create_rxreorder_tbl()
507 last_seq = sta_ptr->rx_seq[tid]; in wlan_11n_create_rxreorder_tbl()
H A Dmlan_uap_cmdevent.c188 sta_node *sta_ptr; in wlan_notify_station_deauth() local
194 sta_ptr = (sta_node *)util_peek_list(priv->adapter->pmoal_handle, in wlan_notify_station_deauth()
200 if (!sta_ptr) { in wlan_notify_station_deauth()
204 while (sta_ptr != (sta_node *)&priv->sta_list) { in wlan_notify_station_deauth()
211 memcpy(priv->adapter, pbuf + 2, sta_ptr->mac_addr, in wlan_notify_station_deauth()
214 sta_ptr = sta_ptr->pnext; in wlan_notify_station_deauth()
439 sta_node *sta_ptr = MNULL; in wlan_process_tx_pause_event() local
475 sta_ptr = in wlan_process_tx_pause_event()
479 if (sta_ptr) { in wlan_process_tx_pause_event()
480 if (sta_ptr->tx_pause != in wlan_process_tx_pause_event()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/
H A Dhostsa_init.c240 sta_node *sta_ptr; in ApDisAssocAllSta() local
244 sta_ptr = (sta_node *)util_peek_list(pmadapter->pmoal_handle, in ApDisAssocAllSta()
251 if (!sta_ptr) { in ApDisAssocAllSta()
256 while (sta_ptr != (sta_node *)&pmpriv->sta_list) { in ApDisAssocAllSta()
257 hostsa_SendDeauth((t_void *)pmpriv, sta_ptr->mac_addr, reason); in ApDisAssocAllSta()
258 sta_ptr = sta_ptr->pnext; in ApDisAssocAllSta()
277 sta_node *sta_ptr = MNULL; in Hostsa_get_station_entry() local
281 sta_ptr = wlan_get_station_entry(priv, mac); in Hostsa_get_station_entry()
282 if (sta_ptr) in Hostsa_get_station_entry()
283 *ppconPtr = sta_ptr->cm_connectioninfo; in Hostsa_get_station_entry()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/hostap/
H A Dhostap_ioctl.c3206 void *sta_ptr; in prism2_ioctl_siwencodeext() local
3222 sta_ptr = NULL; in prism2_ioctl_siwencodeext()
3227 sta_ptr = ap_crypt_get_ptrs(local->ap, addr, 0, &crypt); in prism2_ioctl_siwencodeext()
3228 if (sta_ptr == NULL) { in prism2_ioctl_siwencodeext()
3281 if (sta_ptr || ext->alg != IW_ENCODE_ALG_WEP) { in prism2_ioctl_siwencodeext()
3330 if (!sta_ptr) in prism2_ioctl_siwencodeext()
3335 if (sta_ptr == NULL && ext->key_len > 0) { in prism2_ioctl_siwencodeext()
3348 if (sta_ptr) in prism2_ioctl_siwencodeext()
3349 hostap_handle_sta_release(sta_ptr); in prism2_ioctl_siwencodeext()
3377 void *sta_ptr; in prism2_ioctl_giwencodeext() local
[all …]
H A Dhostap_ap.h234 void *sta_ptr; member
249 void **sta_ptr);

12