You may try this step to implement the new regulatory domain related to 802.11p after you have confirmed the OCB exist in the
sudo /sbin/regdbdump /lib/crda/regulatory.bin | grep -i ocb
country 00: invalid
(5850.000 - 5925.000 @ 20.000), (20.00), NO-CCK, OCB-ONLY
The steps:
After updating the regulatory database, you'll need to reload the cfg80211 kernel module for the changes to take effect:
sudo modprobe -r cfg80211
sudo modprobe cfg80211
Verify the changes:
Once the regulatory database is updated and cfg80211 is reloaded, you should verify that the changes have been applied. You can use the iw command to list the regulatory settings:
iw reg get
Setting the correct country (if necessary):
If you need to set the regulatory domain to a specific country, you can use the iw command:
sudo iw reg set <COUNTRY_CODE>
If and only if you got this error (refer below steps):
sudo modprobe -r cfg80211
modprobe: FATAL: Module cfg80211 is in use.
Identify the dependent modules:
Use the lsmod command to see which modules are using cfg80211:
lsmod | grep cfg80211
The output will show the modules that are dependent on cfg80211. These modules need to be unloaded before you can unload cfg80211.
Unload the dependent modules:
Based on the output from the previous step, unload each of the dependent modules. For example, if mac80211 is using cfg80211, you would do:
sudo modprobe -r mac80211
Repeat this for any other modules that are listed as dependent on cfg80211.
Retry unloading cfg80211:
Once all dependent modules are unloaded, try unloading cfg80211 again:
sudo modprobe -r cfg80211
Reload cfg80211:
Once successfully unloaded, you can reload cfg80211:
sudo modprobe cfg80211
Reload the dependent modules (if necessary):
If you unloaded other modules in step 2, you might need to reload them:
sudo modprobe mac80211
Then run the previous step again.
Regards,
Muhammad Arif Hakimi Zamrai