diff options
author | John Klug <john.klug@multitech.com> | 2022-12-14 15:06:00 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2023-01-10 16:42:56 -0600 |
commit | fdd1c360794118ca281fc32e336ef2aed5cbaa20 (patch) | |
tree | 9983b8c7445f5907825bfb573a528466147a9fb1 /recipes-kernel/rsi-91x/files/rs9113_load_modules.sh | |
parent | da74f397b802417e600888ed0b91ae0d4d983ef4 (diff) | |
download | meta-multitech-atmel-fdd1c360794118ca281fc32e336ef2aed5cbaa20.tar.gz meta-multitech-atmel-fdd1c360794118ca281fc32e336ef2aed5cbaa20.tar.bz2 meta-multitech-atmel-fdd1c360794118ca281fc32e336ef2aed5cbaa20.zip |
Add the IEEE COUNTRY_CODE for cfg80211 to the driver load
Diffstat (limited to 'recipes-kernel/rsi-91x/files/rs9113_load_modules.sh')
-rwxr-xr-x | recipes-kernel/rsi-91x/files/rs9113_load_modules.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-kernel/rsi-91x/files/rs9113_load_modules.sh b/recipes-kernel/rsi-91x/files/rs9113_load_modules.sh index b77a781..d9a5ed0 100755 --- a/recipes-kernel/rsi-91x/files/rs9113_load_modules.sh +++ b/recipes-kernel/rsi-91x/files/rs9113_load_modules.sh @@ -16,6 +16,7 @@ usage() { echo "Configuration values:" echo " COEX_MODE" + echo " COUNTRY_CODE" echo " RSI_ANTENNA_DIVERSITY" echo " ANT_SEL_VAL" echo " RX_DATA_INACTIVE_INTERVAL" @@ -74,8 +75,12 @@ done if((err)) ; then usage fi + +: ${COUNTRY_CODE:=00} +logger -s -p daemon.error "Using COUNTRY_CODE $COUNTRY_CODE" cd /opt/rs9113/modules +modprobe cfg80211 ieee80211_regdom="$COUNTRY_CODE" modprobe mac80211 modprobe bluetooth |