Lines Matching refs:reg_beacon

215 struct reg_beacon {  struct
1437 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
1444 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
1447 if (likely(chan->center_freq != reg_beacon->chan.center_freq)) in handle_reg_beacon()
1478 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
1483 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
1486 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
1489 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
1499 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
1501 list_for_each_entry(reg_beacon, &reg_beacon_list, list) { in wiphy_update_beacon_reg()
1502 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
1504 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
1506 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
2274 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
2613 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
2646 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) { in restore_regulatory_settings()
2647 list_del(&reg_beacon->list); in restore_regulatory_settings()
2648 kfree(reg_beacon); in restore_regulatory_settings()
2652 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) { in restore_regulatory_settings()
2653 list_del(&reg_beacon->list); in restore_regulatory_settings()
2654 kfree(reg_beacon); in restore_regulatory_settings()
2704 struct reg_beacon *pending_beacon; in pending_reg_beacon()
2717 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
2733 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
2734 if (!reg_beacon) in regulatory_hint_found_beacon()
2742 memcpy(&reg_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
2750 list_add_tail(&reg_beacon->list, &reg_pending_beacons); in regulatory_hint_found_beacon()
3253 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
3268 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) { in regulatory_exit()
3269 list_del(&reg_beacon->list); in regulatory_exit()
3270 kfree(reg_beacon); in regulatory_exit()
3273 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) { in regulatory_exit()
3274 list_del(&reg_beacon->list); in regulatory_exit()
3275 kfree(reg_beacon); in regulatory_exit()