You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure set_bitrate_mask compatibility across kernel versions
Resolve type mismatch error in vwifi_set_bitrate_mask for kernels < 5.19.2, where cfg80211_ops.
set_bitrate_mask lacks the link_id parameter, causing a build failure. Add conditional compilation
using LINUX_VERSION_CODE to define vwifi_set_bitrate_mask with or without link_id, ensuring compatibility
with kernels >= 5.19.2 and older.
Preserve all MCS and GI functionality.
Changes:
- Define vwifi_set_bitrate_mask with link_id for kernels >= 5.19.2 and without for older kernels.
- Update logging to include link_id only for newer kernels.
- Retain vwifi_vif fields (manual_mcs, manual_mcs_set, spatial_streams) and MCS logic
(log all enabled MCSs, select highest, default to MCS 0).
Fixes: Type mismatch error for set_bitrate_mask on kernels < 5.19.2
0 commit comments