regulatory_hint_country_ie(9)
πΈ NAME πΈ
hii bestie π welcome to the regulatory_hint_country_ie(9) page in the Kernel API Manual. this one is short and iconic:
regulatory_hint_country_ie β hints a country IE as a regulatory domain. β¨
β¨ SYNOPSIS β¨
okay so the function looks like this β do not mess with the punctuation, she is fragile:
void regulatory_hint_country_ie (struct wiphy *wiphy , enum nl80211_band
band , const u8 *country_ie , u8 country_ie_len );
π ARGUMENTS π
wiphyβ the wireless device giving the hint. used only for reporting conflicts, so sheβs basically here for the drama notifications πbandβ the band on which the country IE was received on. this determines the band weβll process the country IE channel triplets for, iykyk π‘country_ieβ pointer to the country IE. just a pointer, bestie π«Άcountry_ie_lenβ length of the country IE. yes, she needs her length too π
π DESCRIPTION π
okay so picture this: we will intersect the rd with whatever CRDA tells us should apply for the alpha2 this country IE belongs to. why? because this prevents APs from sending us incorrect or outdated information against a country. protecting the vibe check fr fr π‘οΈβ¨
the AP is expected to provide Country IE channel triplets for the band it is on. technically it is possible for APs to send channel country IE triplets even for channels outside of the band they are in β but for that they would have to use the regulatory extension in combination with a triplet. and that behaviour is currently not observed. so for this reason, if a triplet is seen with channel information for a band the BSS is not present in, it will be ignored. periodt. π«π‘
π¦ SEE ALSO π¦
Kernel file ./net/wireless/reg.h β go read her, then go peek at these besties:
regulatory_hint_indoor(9)regulatory_netlink_notify(9)regulatory_hint_found_beacon(9)regulatory_hint_disconnect(9)cfg80211_get_unii(9)regulatory_indoor_allowed(9)regulatory_propagate_dfs_state(9)reg_dfs_domain_same(9)reg_reload_regdb(9)reg_check_channels(9)reg_leave_invalid_chans_wk(9)reg_leave_invalid_nan_wk(9)
xoxo, your local kernel bestie π source/version: ./net/wireless; date: October 2026; page: regulatory_hint_country_ie(9). slay and stay regulatory ππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms