Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link7688 wifi Tx Power can not be set #47

Open
karanyang opened this issue Sep 21, 2017 · 1 comment
Open

Link7688 wifi Tx Power can not be set #47

karanyang opened this issue Sep 21, 2017 · 1 comment

Comments

@karanyang
Copy link

root@SHP-WM01:/# cat /etc/config/wireless

config wifi-device 'radio0'
option type 'ralink'
option variant 'mt7628'
option country 'TW'
option hwmode '11g'
option htmode 'HT40'
option channel 'auto'
option linkit_mode 'ap'
option txpower '10'
option disabled '0'

config wifi-iface 'ap'
option device 'radio0'
option mode 'ap'
option network 'lan'
option ifname 'ra0'
option disabled '0'
option hidden '0'
option ssid 'SHP-WM01'
option seq '1'
option encryption 'psk2'
option key 'Jg5c55grw'

config wifi-iface 'sta'
option device 'radio0'
option mode 'sta'
option network 'wan'
option ifname 'apcli0'
option ssid 'UplinkAp'
option key 'SecretKey'
option encryption 'psk'

root@SHP-WM01:/# iwconfig
eth0.1 no wireless extensions.

lo no wireless extensions.

mon0 no wireless extensions.

ra0 RTWIFI SoftAP ESSID:"SHP-WM01"
Mode:Managed Frequency=2.442 GHz Access Point: 9C:65:F9:CF:8A:CD
Bit Rate=150 Mb/s Tx-Power=20 dBm
Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Set wifi txpower at /etc/config/wireless, but the Tx-Power is still 20dBm, it can't be changed.
How to set the wifi txpower?

@bodgybrothers
Copy link

As far as I'm aware, this driver doesn't respond to the normal "/etc/config/wireless" setup. You can set the power int the mt76xx.dat file located in

./feeds/mtk/drivers/mt7628/files/etc/wireless/mt7628

eg
TxPower=100

I too am trying to wrap my head around how to set this up correctly using simple config files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants