mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
iwinfo: mtk: return txpower for signal
iwinfo: mtk: set quality/quality_max to fixed value
This commit is contained in:
parent
cbfb74a070
commit
98cf9c1c47
@ -258,7 +258,7 @@ static int mtk_get_txpower(const char *dev, int *buf)
|
||||
|
||||
static int mtk_get_signal(const char *dev, int *buf)
|
||||
{
|
||||
return -1;
|
||||
return mtk_get_txpower(dev, buf);
|
||||
}
|
||||
|
||||
static int mtk_get_noise(const char *dev, int *buf)
|
||||
@ -268,12 +268,14 @@ static int mtk_get_noise(const char *dev, int *buf)
|
||||
|
||||
static int mtk_get_quality(const char *dev, int *buf)
|
||||
{
|
||||
return -1;
|
||||
*buf = 100;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int mtk_get_quality_max(const char *dev, int *buf)
|
||||
{
|
||||
return -1;
|
||||
*buf = 100;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void fill_rate_info(HTTRANSMIT_SETTING HTSetting, struct iwinfo_rate_entry *re,
|
||||
|
Loading…
x
Reference in New Issue
Block a user