On Thu, 9 Sept 2021 at 16:42, Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx> wrote: > > Qcom documents suggest passing of negative values to the dump command, > however currently we convert from string to u32 not s32, so we cannot pass > a two's complement value to the firmware in this way. > > There is in fact only one parameter which takes a two's complement value > <tigger threshold> in the antenna diversity switch command. > > Downstream: > iwpriv wlan0 dump 71 3 <schedule period> <trigger threshold> <hysteresis value> > > Upstream: > echo "71 3 <schedule period> <trigger threshold> <hysteresis value>" > /sys/kernel/debug/ieee80211/phy0/wcn36xx/dump > > Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 hardware") > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx> Reviewed-by: Loic Poulain <loic.poulain@xxxxxxxxxx>