| | 1062 | == Fixed MCS Rate |
| | 1063 | |
| | 1064 | For certain scenarios or applications, a fixed MCS rate may be desired. |
| | 1065 | |
| | 1066 | This can be done at boot by modifying the module conf file, as shown in the example below: |
| | 1067 | {{{ |
| | 1068 | ###UBUNTU |
| | 1069 | root@noble-venice:/etc# cat /etc/modprobe.d/morse.conf |
| | 1070 | options morse country=US enable_ext_xtal_init=1 fixed_mcs=2 enable_fixed_rate=1 |
| | 1071 | |
| | 1072 | ####OPENWRT |
| | 1073 | root@OpenWrt:~# cat /etc/modules.d/morse |
| | 1074 | morse country=US enable_ext_xtal_init=1 fixed_mcs=2 enable_fixed_rate=1 |
| | 1075 | }}} |
| | 1076 | |
| | 1077 | An alternative way to set a MCS index while running from userspace, use the command: |
| | 1078 | {{{ |
| | 1079 | echo "18" > /sys/kernel/debug/ieee80211/phy0/morse/fixed_rate |
| | 1080 | }}} |
| | 1081 | |
| | 1082 | 18 in this case corresponds to 2MHz LGI. If you want a list of available indexes run: |
| | 1083 | {{{ |
| | 1084 | cat /sys/kernel/debug/ieee80211/phy0/morse/mmrc_table |
| | 1085 | }}} |
| | 1086 | |
| | 1087 | Note, the driver may push it back to auto MCS and thus a custom script / process will need to be continually run to force it to fixed MCS. |
| | 1088 | |
| | 1089 | |