Lines Matching refs:reg_beacon

232 struct reg_beacon {  struct
2160 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
2168 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
2171 if (likely(!ieee80211_channel_equal(chan, &reg_beacon->chan))) in handle_reg_beacon()
2204 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
2209 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
2212 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
2215 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
2225 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
2227 list_for_each_entry(reg_beacon, &reg_beacon_list, list) { in wiphy_update_beacon_reg()
2228 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
2230 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
2232 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
3122 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
3477 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
3510 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) { in restore_regulatory_settings()
3511 list_del(&reg_beacon->list); in restore_regulatory_settings()
3512 kfree(reg_beacon); in restore_regulatory_settings()
3516 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) { in restore_regulatory_settings()
3517 list_del(&reg_beacon->list); in restore_regulatory_settings()
3518 kfree(reg_beacon); in restore_regulatory_settings()
3601 struct reg_beacon *reg_beacon, *btmp; in regulatory_hint_disconnect() local
3607 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3609 list_del(&reg_beacon->list); in regulatory_hint_disconnect()
3610 kfree(reg_beacon); in regulatory_hint_disconnect()
3614 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3616 list_del(&reg_beacon->list); in regulatory_hint_disconnect()
3617 kfree(reg_beacon); in regulatory_hint_disconnect()
3638 struct reg_beacon *pending_beacon; in pending_reg_beacon()
3651 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
3667 reg_beacon = kzalloc_obj(struct reg_beacon, gfp); in regulatory_hint_found_beacon()
3668 if (!reg_beacon) in regulatory_hint_found_beacon()
3677 memcpy(&reg_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
3685 list_add_tail(&reg_beacon->list, &reg_pending_beacons); in regulatory_hint_found_beacon()
4345 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
4360 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) { in regulatory_exit()
4361 list_del(&reg_beacon->list); in regulatory_exit()
4362 kfree(reg_beacon); in regulatory_exit()
4365 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) { in regulatory_exit()
4366 list_del(&reg_beacon->list); in regulatory_exit()
4367 kfree(reg_beacon); in regulatory_exit()