Lines Matching refs:sta_ptr
31 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
270 sta_ptr = mwifiex_get_sta_entry(priv, tdls_evt->peer_mac); in mwifiex_parse_tdls_event()
271 if (!sta_ptr) { in mwifiex_parse_tdls_event()
296 sta_ptr->tdls_status = TDLS_IN_BASE_CHAN; in mwifiex_parse_tdls_event()
299 sta_ptr->tdls_status = TDLS_IN_OFF_CHAN; in mwifiex_parse_tdls_event()
310 if (sta_ptr->tdls_status == TDLS_IN_BASE_CHAN) in mwifiex_parse_tdls_event()
314 sta_ptr->tdls_status = TDLS_IN_BASE_CHAN; in mwifiex_parse_tdls_event()
317 if (sta_ptr->tdls_status == TDLS_IN_OFF_CHAN) in mwifiex_parse_tdls_event()
321 sta_ptr->tdls_status = TDLS_IN_OFF_CHAN; in mwifiex_parse_tdls_event()
330 sta_ptr->tdls_status = TDLS_CHAN_SWITCHING; in mwifiex_parse_tdls_event()
348 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_uap_tx_pause() local
365 sta_ptr = mwifiex_get_sta_entry(priv, tp->peermac); in mwifiex_process_uap_tx_pause()
366 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { in mwifiex_process_uap_tx_pause()
367 sta_ptr->tx_pause = tp->tx_pause; in mwifiex_process_uap_tx_pause()
379 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_sta_tx_pause() local
400 sta_ptr = mwifiex_get_sta_entry(priv, tp->peermac); in mwifiex_process_sta_tx_pause()
401 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { in mwifiex_process_sta_tx_pause()
402 sta_ptr->tx_pause = tp->tx_pause; in mwifiex_process_sta_tx_pause()
707 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_sta_event() local
937 sta_ptr = mwifiex_add_sta_entry(priv, ibss_sta_addr); in mwifiex_process_sta_event()
938 if (sta_ptr && adapter->adhoc_11n_enabled) { in mwifiex_process_sta_event()
939 mwifiex_check_ibss_peer_capabilities(priv, sta_ptr, in mwifiex_process_sta_event()
941 if (sta_ptr->is_11n_enabled) in mwifiex_process_sta_event()
943 sta_ptr->ampdu_sta[i] = in mwifiex_process_sta_event()
947 sta_ptr->ampdu_sta[i] = in mwifiex_process_sta_event()
949 memset(sta_ptr->rx_seq, 0xff, sizeof(sta_ptr->rx_seq)); in mwifiex_process_sta_event()
957 sta_ptr = mwifiex_get_sta_entry(priv, ibss_sta_addr); in mwifiex_process_sta_event()
958 if (sta_ptr && sta_ptr->is_11n_enabled) { in mwifiex_process_sta_event()