On Thu, 2021-03-11 at 10:58 +0100, Stefan Sperling wrote:
> Generally, iwm tends to prefer 5 GHz for me in most locations,
> but
> there are heuristics involved in selecting the band. You could
> try
> tweaking these values in ieee80211_var.h to see if it you can
> manage
> to tip iwm over into the 5 GHz band:
> 
> #define IEEE80211_RSSI_THRES_2GHZ               (-60)   /* in
> dBm */
> #define IEEE80211_RSSI_THRES_5GHZ               (-70)   /* in
> dBm */
> #define IEEE80211_RSSI_THRES_RATIO_2GHZ         60      /* in
> percent */
> #define IEEE80211_RSSI_THRES_RATIO_5GHZ         50      /* in
> percent */
> 
> The current values are based on highly scientific and ruthlessly
> thorough trials which I conducted at my flat ;-)

OK that's worth a try. What do these settings mean?

Also, I just realized I could set the channel manually with the
'chan' option to ifconfig(8). I set it to the 5 GHz channel of my
network and I didn't notice an improvement. Maybe it didn't really
switch channels?

Thanks for your help!

--Aaron


Reply via email to