Lines Matching refs:stations

1739 	if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE))
1741 sta_id, il->stations[sta_id].sta.sta.addr);
1743 if (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) {
1746 il->stations[sta_id].sta.sta.addr);
1748 il->stations[sta_id].used |= IL_STA_UCODE_ACTIVE;
1750 il->stations[sta_id].sta.sta.addr);
1794 il->stations[sta_id].sta.mode ==
1796 il->stations[sta_id].sta.sta.addr);
1807 il->stations[sta_id].sta.mode ==
1877 sta_flags = il->stations[idx].sta.station_flags;
1908 il->stations[idx].sta.station_flags = sta_flags;
1933 if (ether_addr_equal(il->stations[i].sta.sta.addr,
1939 if (!il->stations[i].used &&
1956 if (il->stations[sta_id].used & IL_STA_UCODE_INPROGRESS) {
1961 if ((il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE) &&
1962 (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) &&
1963 ether_addr_equal(il->stations[sta_id].sta.sta.addr, addr)) {
1969 station = &il->stations[sta_id];
1982 * OK to call unconditionally, since local stations (IBSS BSSID
2026 if (il->stations[sta_id].used & IL_STA_UCODE_INPROGRESS) {
2032 if ((il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE) &&
2033 (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE)) {
2040 il->stations[sta_id].used |= IL_STA_UCODE_INPROGRESS;
2041 memcpy(&sta_cmd, &il->stations[sta_id].sta,
2050 il->stations[sta_id].sta.sta.addr);
2051 il->stations[sta_id].used &= ~IL_STA_DRIVER_ACTIVE;
2052 il->stations[sta_id].used &= ~IL_STA_UCODE_INPROGRESS;
2069 if ((il->stations[sta_id].
2074 il->stations[sta_id].used &= ~IL_STA_UCODE_ACTIVE;
2076 memset(&il->stations[sta_id], 0, sizeof(struct il_station_entry));
2148 * It is typical for stations to be removed when we are
2162 if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE)) {
2167 if (!(il->stations[sta_id].used & IL_STA_UCODE_ACTIVE)) {
2172 if (il->stations[sta_id].used & IL_STA_LOCAL) {
2173 kfree(il->stations[sta_id].lq);
2174 il->stations[sta_id].lq = NULL;
2177 il->stations[sta_id].used &= ~IL_STA_DRIVER_ACTIVE;
2196 * which stations are active in the ucode. Call when something
2207 D_INFO("Clearing ucode stations in driver\n");
2211 if (il->stations[i].used & IL_STA_UCODE_ACTIVE) {
2213 il->stations[i].used &= ~IL_STA_UCODE_ACTIVE;
2220 D_INFO("No active stations found to be cleared\n");
2225 * il_restore_stations() - Restore driver known stations to device
2227 * All stations considered active by driver, but not present in ucode, is
2244 D_INFO("Not ready yet, not restoring any stations.\n");
2248 D_ASSOC("Restoring all known stations ... start.\n");
2251 if ((il->stations[i].used & IL_STA_DRIVER_ACTIVE) &&
2252 !(il->stations[i].used & IL_STA_UCODE_ACTIVE)) {
2254 il->stations[i].sta.sta.addr);
2255 il->stations[i].sta.mode = 0;
2256 il->stations[i].used |= IL_STA_UCODE_INPROGRESS;
2262 if ((il->stations[i].used & IL_STA_UCODE_INPROGRESS)) {
2263 memcpy(&sta_cmd, &il->stations[i].sta,
2266 if (il->stations[i].lq) {
2267 memcpy(&lq, il->stations[i].lq,
2276 il->stations[i].sta.sta.addr);
2277 il->stations[i].used &= ~IL_STA_DRIVER_ACTIVE;
2278 il->stations[i].used &=
2290 il->stations[i].used &= ~IL_STA_UCODE_INPROGRESS;
2296 D_INFO("Restoring all known stations"
2297 " .... no stations to be restored.\n");
2299 D_INFO("Restoring all known stations" " .... complete.\n");
2324 if (!(il->stations[i].used & IL_STA_BCAST))
2327 il->stations[i].used &= ~IL_STA_UCODE_ACTIVE;
2330 kfree(il->stations[i].lq);
2331 il->stations[i].lq = NULL;
2413 if (!(il->stations[lq->sta_id].used & IL_STA_DRIVER_ACTIVE)) {
2435 il->stations[lq->sta_id].used &= ~IL_STA_UCODE_INPROGRESS;