• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/mac80211/

Lines Matching refs:sta

45 					struct sta_info *sta, u8 addr[ETH_ALEN],
59 keyconf, sta ? sta->aid : 0)) {
80 struct sta_info *sta;
89 sta = NULL;
114 sta = sta_info_get(local, sta_addr);
115 if (!sta) {
125 key = sta->key;
138 if (!sta && alg == ALG_WEP && !local->default_wep_only &&
153 if (sta && (sta->flags & WLAN_STA_WME)) {
159 sta = sta_info_get(local, sdata->u.sta.bssid);
160 if (sta) {
161 if (sta->flags & WLAN_STA_WME) {
164 sta_info_put(sta);
165 sta = NULL;
177 sta_addr, keyconf, sta ? sta->aid : 0)) {
189 if (sta)
190 sta->key = NULL;
197 key = ieee80211_key_alloc(sta ? NULL : sdata, idx, key_len,
233 if (sta)
234 sta->key = key;
239 if (sta)
240 ieee80211_debugfs_key_sta_link(key, sta);
244 ieee80211_set_hw_encryption(dev, sta, sta_addr, key);
247 if (set_tx_key || (!sta && !sdata->default_key && key)) {
258 if (sta)
259 sta_info_put(sta);
266 if (sta)
267 sta_info_put(sta);
287 sdata->u.sta.auto_bssid_sel = 0;
288 ieee80211_sta_req_auth(dev, &sdata->u.sta);
623 sdata->u.sta.auto_channel_sel = 0;
629 sdata->u.sta.auto_channel_sel = 1;
680 memcpy(sdata->u.sta.ssid, ssid, len);
681 sdata->u.sta.ssid_len = len;
684 sdata->u.sta.auto_ssid_sel = !data->flags;
688 ieee80211_sta_req_auth(dev, &sdata->u.sta);
747 memcpy(sdata->u.sta.bssid, (u8 *) &ap_addr->sa_data,
752 sdata->u.sta.auto_bssid_sel = 1;
753 sdata->u.sta.auto_channel_sel = 1;
755 sdata->u.sta.auto_bssid_sel = 1;
757 sdata->u.sta.auto_bssid_sel = 0;
761 ieee80211_sta_req_auth(dev, &sdata->u.sta);
784 memcpy(&ap_addr->sa_data, sdata->u.sta.bssid, ETH_ALEN);
811 ssid = sdata->u.sta.ssid;
812 ssid_len = sdata->u.sta.ssid_len;
981 struct sta_info *sta;
1005 list_for_each_entry(sta, &local->sta_list, list) {
1007 if (sta->key && !sta->key->force_sw_encrypt &&
1009 (keyconf = ieee80211_key_data2conf(local, sta->key)))
1011 sta->addr, keyconf, sta->aid);
1013 ieee80211_key_free(sta->key);
1014 sta->key = NULL;
1316 sdata->u.sta.mixed_cell = !!value;
1327 sdata->u.sta.create_ibss = !!value;
1334 sdata->u.sta.wmm_enabled = !!value;
1442 *param = !!sdata->u.sta.create_ibss;
1450 *param = !!sdata->u.sta.mixed_cell;
1457 *param = !!sdata->u.sta.wmm_enabled;
1598 * TODO: sdata->u.sta.key_mgmt does not match with WE18
1605 sdata->u.sta.key_mgmt =
1608 sdata->u.sta.key_mgmt =
1611 sdata->u.sta.key_mgmt =
1619 sdata->u.sta.auth_algs = data->value;
1641 struct sta_info *sta = NULL;
1645 sta = sta_info_get(local, sdata->u.sta.bssid);
1646 if (!sta) {
1654 wstats->qual.level = sta->last_rssi;
1655 wstats->qual.qual = sta->last_signal;
1656 wstats->qual.noise = sta->last_noise;
1658 sta_info_put(sta);
1674 data->value = sdata->u.sta.auth_algs;