• Home
  • Raw
  • Download

Lines Matching refs:node

33 	struct mwifiex_sta_node *node;  in mwifiex_get_sta_entry()  local
38 list_for_each_entry(node, &priv->sta_list, list) { in mwifiex_get_sta_entry()
39 if (!memcmp(node->mac_addr, mac, ETH_ALEN)) in mwifiex_get_sta_entry()
40 return node; in mwifiex_get_sta_entry()
55 struct mwifiex_sta_node *node; in mwifiex_add_sta_entry() local
62 node = mwifiex_get_sta_entry(priv, mac); in mwifiex_add_sta_entry()
63 if (node) in mwifiex_add_sta_entry()
66 node = kzalloc(sizeof(struct mwifiex_sta_node), GFP_ATOMIC); in mwifiex_add_sta_entry()
67 if (!node) in mwifiex_add_sta_entry()
70 memcpy(node->mac_addr, mac, ETH_ALEN); in mwifiex_add_sta_entry()
71 list_add_tail(&node->list, &priv->sta_list); in mwifiex_add_sta_entry()
75 return node; in mwifiex_add_sta_entry()
84 int ies_len, struct mwifiex_sta_node *node) in mwifiex_set_sta_ht_cap() argument
93 node->is_11n_enabled = 1; in mwifiex_set_sta_ht_cap()
94 node->max_amsdu = le16_to_cpu(ht_cap->cap_info) & in mwifiex_set_sta_ht_cap()
99 node->is_11n_enabled = 0; in mwifiex_set_sta_ht_cap()
110 struct mwifiex_sta_node *node, *tmp; in mwifiex_del_sta_entry() local
115 node = mwifiex_get_sta_entry(priv, mac); in mwifiex_del_sta_entry()
116 if (node) { in mwifiex_del_sta_entry()
117 list_for_each_entry_safe(node, tmp, &priv->sta_list, in mwifiex_del_sta_entry()
119 list_del(&node->list); in mwifiex_del_sta_entry()
120 kfree(node); in mwifiex_del_sta_entry()
133 struct mwifiex_sta_node *node, *tmp; in mwifiex_del_all_sta_list() local
138 list_for_each_entry_safe(node, tmp, &priv->sta_list, list) { in mwifiex_del_all_sta_list()
139 list_del(&node->list); in mwifiex_del_all_sta_list()
140 kfree(node); in mwifiex_del_all_sta_list()
170 struct mwifiex_sta_node *node; in mwifiex_process_uap_event() local
203 node = mwifiex_add_sta_entry(priv, event->sta_addr); in mwifiex_process_uap_event()
204 if (!node) { in mwifiex_process_uap_event()
214 sinfo.assoc_req_ies_len, node); in mwifiex_process_uap_event()
217 if (node->is_11n_enabled) in mwifiex_process_uap_event()
218 node->ampdu_sta[i] = in mwifiex_process_uap_event()
221 node->ampdu_sta[i] = BA_STREAM_NOT_ALLOWED; in mwifiex_process_uap_event()
223 memset(node->rx_seq, 0xff, sizeof(node->rx_seq)); in mwifiex_process_uap_event()