Lines Matching refs:reg_beacon

218 struct reg_beacon {  struct
1370 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
1377 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
1380 if (likely(chan->center_freq != reg_beacon->chan.center_freq)) in handle_reg_beacon()
1411 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
1416 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
1419 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
1422 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
1432 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
1434 list_for_each_entry(reg_beacon, &reg_beacon_list, list) { in wiphy_update_beacon_reg()
1435 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
1437 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
1439 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
2185 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
2524 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
2557 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) { in restore_regulatory_settings()
2558 list_del(&reg_beacon->list); in restore_regulatory_settings()
2559 kfree(reg_beacon); in restore_regulatory_settings()
2563 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) { in restore_regulatory_settings()
2564 list_del(&reg_beacon->list); in restore_regulatory_settings()
2565 kfree(reg_beacon); in restore_regulatory_settings()
2615 struct reg_beacon *pending_beacon; in pending_reg_beacon()
2628 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
2644 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
2645 if (!reg_beacon) in regulatory_hint_found_beacon()
2653 memcpy(&reg_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
2661 list_add_tail(&reg_beacon->list, &reg_pending_beacons); in regulatory_hint_found_beacon()
3176 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
3191 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) { in regulatory_exit()
3192 list_del(&reg_beacon->list); in regulatory_exit()
3193 kfree(reg_beacon); in regulatory_exit()
3196 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) { in regulatory_exit()
3197 list_del(&reg_beacon->list); in regulatory_exit()
3198 kfree(reg_beacon); in regulatory_exit()