Lines Matching refs:sta_ptr
19 struct mwifiex_sta_node *sta_ptr, in mwifiex_check_ibss_peer_capabilities() argument
63 sta_ptr->is_11n_enabled = true; in mwifiex_check_ibss_peer_capabilities()
65 sta_ptr->max_amsdu = le16_to_cpu(ht_cap->cap_info) & in mwifiex_check_ibss_peer_capabilities()
71 sta_ptr->max_amsdu); in mwifiex_check_ibss_peer_capabilities()
75 sta_ptr->is_11ac_enabled = true; in mwifiex_check_ibss_peer_capabilities()
80 sta_ptr->max_amsdu = in mwifiex_check_ibss_peer_capabilities()
84 sta_ptr->max_amsdu = in mwifiex_check_ibss_peer_capabilities()
88 sta_ptr->max_amsdu = in mwifiex_check_ibss_peer_capabilities()
97 sta_ptr->max_amsdu); in mwifiex_check_ibss_peer_capabilities()
253 struct mwifiex_sta_node *sta_ptr; in mwifiex_parse_tdls_event() local
265 sta_ptr = mwifiex_get_sta_entry(priv, tdls_evt->peer_mac); in mwifiex_parse_tdls_event()
266 if (!sta_ptr) { in mwifiex_parse_tdls_event()
291 sta_ptr->tdls_status = TDLS_IN_BASE_CHAN; in mwifiex_parse_tdls_event()
294 sta_ptr->tdls_status = TDLS_IN_OFF_CHAN; in mwifiex_parse_tdls_event()
305 if (sta_ptr->tdls_status == TDLS_IN_BASE_CHAN) in mwifiex_parse_tdls_event()
309 sta_ptr->tdls_status = TDLS_IN_BASE_CHAN; in mwifiex_parse_tdls_event()
312 if (sta_ptr->tdls_status == TDLS_IN_OFF_CHAN) in mwifiex_parse_tdls_event()
316 sta_ptr->tdls_status = TDLS_IN_OFF_CHAN; in mwifiex_parse_tdls_event()
325 sta_ptr->tdls_status = TDLS_CHAN_SWITCHING; in mwifiex_parse_tdls_event()
343 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_uap_tx_pause() local
360 sta_ptr = mwifiex_get_sta_entry(priv, tp->peermac); in mwifiex_process_uap_tx_pause()
361 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { in mwifiex_process_uap_tx_pause()
362 sta_ptr->tx_pause = tp->tx_pause; in mwifiex_process_uap_tx_pause()
376 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_sta_tx_pause() local
397 sta_ptr = mwifiex_get_sta_entry(priv, tp->peermac); in mwifiex_process_sta_tx_pause()
398 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { in mwifiex_process_sta_tx_pause()
399 sta_ptr->tx_pause = tp->tx_pause; in mwifiex_process_sta_tx_pause()
706 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_sta_event() local
944 sta_ptr = mwifiex_add_sta_entry(priv, ibss_sta_addr); in mwifiex_process_sta_event()
945 if (sta_ptr && adapter->adhoc_11n_enabled) { in mwifiex_process_sta_event()
946 mwifiex_check_ibss_peer_capabilities(priv, sta_ptr, in mwifiex_process_sta_event()
948 if (sta_ptr->is_11n_enabled) in mwifiex_process_sta_event()
950 sta_ptr->ampdu_sta[i] = in mwifiex_process_sta_event()
954 sta_ptr->ampdu_sta[i] = in mwifiex_process_sta_event()
956 memset(sta_ptr->rx_seq, 0xff, sizeof(sta_ptr->rx_seq)); in mwifiex_process_sta_event()
964 sta_ptr = mwifiex_get_sta_entry(priv, ibss_sta_addr); in mwifiex_process_sta_event()
965 if (sta_ptr && sta_ptr->is_11n_enabled) { in mwifiex_process_sta_event()