regulatory_hint_country_ie(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:


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