ath10k: turn rawmode into frame_mode
authorSergey Ryazanov <ryazanov.s.a@gmail.com>
Mon, 16 May 2022 10:26:00 +0000 (13:26 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Sun, 22 May 2022 12:27:51 +0000 (15:27 +0300)
commita09740548275a74b897654b3aca5af589289b57a
tree647da79d98905a684947136df1e71376311675c0
parent70f119fb82af7f7417dc659faf02c91e1f853739
ath10k: turn rawmode into frame_mode

Turn boolean rawmode module param into integer frame_mode param that
contains value from ath10k_hw_txrx_mode enum. As earlier the default
param value is non-RAW (native Wi-Fi) encapsulation. The param name
is selected to be consistent with the similar ath11k param.

This is a preparation step for upcoming encapsulation offloading
support.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220516032519.29831-4-ryazanov.s.a@gmail.com
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h