Lines Matching refs:reg_beacon

209 struct reg_beacon {  struct
1875 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
1882 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
1885 if (likely(chan->center_freq != reg_beacon->chan.center_freq)) in handle_reg_beacon()
1915 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
1920 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
1923 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
1926 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
1936 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
1938 list_for_each_entry(reg_beacon, &reg_beacon_list, list) { in wiphy_update_beacon_reg()
1939 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
1941 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
1943 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
2775 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
3115 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
3148 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) { in restore_regulatory_settings()
3149 list_del(&reg_beacon->list); in restore_regulatory_settings()
3150 kfree(reg_beacon); in restore_regulatory_settings()
3154 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) { in restore_regulatory_settings()
3155 list_del(&reg_beacon->list); in restore_regulatory_settings()
3156 kfree(reg_beacon); in restore_regulatory_settings()
3206 struct reg_beacon *pending_beacon; in pending_reg_beacon()
3219 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
3235 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
3236 if (!reg_beacon) in regulatory_hint_found_beacon()
3244 memcpy(&reg_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
3252 list_add_tail(&reg_beacon->list, &reg_pending_beacons); in regulatory_hint_found_beacon()
3842 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
3857 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) { in regulatory_exit()
3858 list_del(&reg_beacon->list); in regulatory_exit()
3859 kfree(reg_beacon); in regulatory_exit()
3862 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) { in regulatory_exit()
3863 list_del(&reg_beacon->list); in regulatory_exit()
3864 kfree(reg_beacon); in regulatory_exit()