Lines Matching refs:reg_beacon
208 struct reg_beacon { struct
1321 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
1328 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
1331 if (likely(chan->center_freq != reg_beacon->chan.center_freq)) in handle_reg_beacon()
1362 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
1367 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
1370 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
1373 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
1383 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
1385 list_for_each_entry(reg_beacon, ®_beacon_list, list) { in wiphy_update_beacon_reg()
1386 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
1388 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
1390 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
1981 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
2242 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
2270 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in restore_regulatory_settings()
2271 list_del(®_beacon->list); in restore_regulatory_settings()
2272 kfree(reg_beacon); in restore_regulatory_settings()
2276 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in restore_regulatory_settings()
2277 list_del(®_beacon->list); in restore_regulatory_settings()
2278 kfree(reg_beacon); in restore_regulatory_settings()
2326 struct reg_beacon *pending_beacon; in pending_reg_beacon()
2339 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
2355 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
2356 if (!reg_beacon) in regulatory_hint_found_beacon()
2364 memcpy(®_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
2372 list_add_tail(®_beacon->list, ®_pending_beacons); in regulatory_hint_found_beacon()
2812 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
2826 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in regulatory_exit()
2827 list_del(®_beacon->list); in regulatory_exit()
2828 kfree(reg_beacon); in regulatory_exit()
2831 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in regulatory_exit()
2832 list_del(®_beacon->list); in regulatory_exit()
2833 kfree(reg_beacon); in regulatory_exit()