• Peter Oh's avatar
    ath10k: use Rx decap mode configured when driver registered · bc27e8cd
    Peter Oh authored
    ath10k is using Native WiFi mode as default mode for both of
    Tx and Rx path, but it could be changed when driver registers
    with a module parameter for specific purpose such as mesh.
    
    The Rx decap mode sent to firmware during WMI initialization should
    use the same mode that driver configured at its registration stage
    in case of using raw mode, so that host driver receives MAC frame
    header containing necessary fields such as QoS and Mesh Control
    and uses them in right way to make data traffic work.
    Signed-off-by: default avatarPeter Oh <poh@qca.qualcomm.com>
    Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
    bc27e8cd
wmi.c 231 KB