I'm trying to use NL80211 to inform the kernel of a new regulatory db. I cannot find enough documentation, to create code that does that. I found that iw uses NL80211_CMD_RELOAD_REGDB, but I don't understand their macro system, to create C code from it. My end goal is to run this code from rust, but I should manage to convert C to rust. Hope anyone can point me in the right direction to achieve this. - kloenk