Lines Matching refs:reg_beacon

230 struct reg_beacon {  struct
2191 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
2198 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
2201 if (likely(!ieee80211_channel_equal(chan, &reg_beacon->chan))) in handle_reg_beacon()
2231 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
2236 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
2239 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
2242 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
2252 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
2254 list_for_each_entry(reg_beacon, &reg_beacon_list, list) { in wiphy_update_beacon_reg()
2255 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
2257 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
2259 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
3148 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
3502 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
3535 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) { in restore_regulatory_settings()
3536 list_del(&reg_beacon->list); in restore_regulatory_settings()
3537 kfree(reg_beacon); in restore_regulatory_settings()
3541 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) { in restore_regulatory_settings()
3542 list_del(&reg_beacon->list); in restore_regulatory_settings()
3543 kfree(reg_beacon); in restore_regulatory_settings()
3628 struct reg_beacon *reg_beacon, *btmp; in regulatory_hint_disconnect() local
3634 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3636 list_del(&reg_beacon->list); in regulatory_hint_disconnect()
3637 kfree(reg_beacon); in regulatory_hint_disconnect()
3641 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3643 list_del(&reg_beacon->list); in regulatory_hint_disconnect()
3644 kfree(reg_beacon); in regulatory_hint_disconnect()
3665 struct reg_beacon *pending_beacon; in pending_reg_beacon()
3678 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
3694 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
3695 if (!reg_beacon) in regulatory_hint_found_beacon()
3704 memcpy(&reg_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
3712 list_add_tail(&reg_beacon->list, &reg_pending_beacons); in regulatory_hint_found_beacon()
4371 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
4386 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) { in regulatory_exit()
4387 list_del(&reg_beacon->list); in regulatory_exit()
4388 kfree(reg_beacon); in regulatory_exit()
4391 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) { in regulatory_exit()
4392 list_del(&reg_beacon->list); in regulatory_exit()
4393 kfree(reg_beacon); in regulatory_exit()