Lines Matching refs:stations
1741 if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE))
1743 sta_id, il->stations[sta_id].sta.sta.addr);
1745 if (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) {
1748 il->stations[sta_id].sta.sta.addr);
1750 il->stations[sta_id].used |= IL_STA_UCODE_ACTIVE;
1752 il->stations[sta_id].sta.sta.addr);
1796 il->stations[sta_id].sta.mode ==
1798 il->stations[sta_id].sta.sta.addr);
1809 il->stations[sta_id].sta.mode ==
1879 sta_flags = il->stations[idx].sta.station_flags;
1910 il->stations[idx].sta.station_flags = sta_flags;
1935 if (ether_addr_equal(il->stations[i].sta.sta.addr,
1941 if (!il->stations[i].used &&
1958 if (il->stations[sta_id].used & IL_STA_UCODE_INPROGRESS) {
1963 if ((il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE) &&
1964 (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) &&
1965 ether_addr_equal(il->stations[sta_id].sta.sta.addr, addr)) {
1971 station = &il->stations[sta_id];
1984 * OK to call unconditionally, since local stations (IBSS BSSID
2028 if (il->stations[sta_id].used & IL_STA_UCODE_INPROGRESS) {
2034 if ((il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE) &&
2035 (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE)) {
2042 il->stations[sta_id].used |= IL_STA_UCODE_INPROGRESS;
2043 memcpy(&sta_cmd, &il->stations[sta_id].sta,
2052 il->stations[sta_id].sta.sta.addr);
2053 il->stations[sta_id].used &= ~IL_STA_DRIVER_ACTIVE;
2054 il->stations[sta_id].used &= ~IL_STA_UCODE_INPROGRESS;
2071 if ((il->stations[sta_id].
2076 il->stations[sta_id].used &= ~IL_STA_UCODE_ACTIVE;
2078 memset(&il->stations[sta_id], 0, sizeof(struct il_station_entry));
2150 * It is typical for stations to be removed when we are
2164 if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE)) {
2169 if (!(il->stations[sta_id].used & IL_STA_UCODE_ACTIVE)) {
2174 if (il->stations[sta_id].used & IL_STA_LOCAL) {
2175 kfree(il->stations[sta_id].lq);
2176 il->stations[sta_id].lq = NULL;
2179 il->stations[sta_id].used &= ~IL_STA_DRIVER_ACTIVE;
2198 * which stations are active in the ucode. Call when something
2209 D_INFO("Clearing ucode stations in driver\n");
2213 if (il->stations[i].used & IL_STA_UCODE_ACTIVE) {
2215 il->stations[i].used &= ~IL_STA_UCODE_ACTIVE;
2222 D_INFO("No active stations found to be cleared\n");
2227 * il_restore_stations() - Restore driver known stations to device
2229 * All stations considered active by driver, but not present in ucode, is
2246 D_INFO("Not ready yet, not restoring any stations.\n");
2250 D_ASSOC("Restoring all known stations ... start.\n");
2253 if ((il->stations[i].used & IL_STA_DRIVER_ACTIVE) &&
2254 !(il->stations[i].used & IL_STA_UCODE_ACTIVE)) {
2256 il->stations[i].sta.sta.addr);
2257 il->stations[i].sta.mode = 0;
2258 il->stations[i].used |= IL_STA_UCODE_INPROGRESS;
2264 if ((il->stations[i].used & IL_STA_UCODE_INPROGRESS)) {
2265 memcpy(&sta_cmd, &il->stations[i].sta,
2268 if (il->stations[i].lq) {
2269 memcpy(&lq, il->stations[i].lq,
2278 il->stations[i].sta.sta.addr);
2279 il->stations[i].used &= ~IL_STA_DRIVER_ACTIVE;
2280 il->stations[i].used &=
2292 il->stations[i].used &= ~IL_STA_UCODE_INPROGRESS;
2298 D_INFO("Restoring all known stations"
2299 " .... no stations to be restored.\n");
2301 D_INFO("Restoring all known stations" " .... complete.\n");
2326 if (!(il->stations[i].used & IL_STA_BCAST))
2329 il->stations[i].used &= ~IL_STA_UCODE_ACTIVE;
2332 kfree(il->stations[i].lq);
2333 il->stations[i].lq = NULL;
2415 if (!(il->stations[lq->sta_id].used & IL_STA_DRIVER_ACTIVE)) {
2437 il->stations[lq->sta_id].used &= ~IL_STA_UCODE_INPROGRESS;