Skip to content
  • Johannes Berg's avatar
    iwlagn: explicitly program P2P QoS parameters · a69cd040
    Johannes Berg authored
    
    
    In P2P device mode, the device needs to have valid
    QoS parameters. We currently have those because we
    program parameters from any virtual interface into
    all contexts, but not only do we want to get rid of
    this -- it is also unpredictable since on the BSS
    context we might have any parameters, and there it
    might even be programmed for HT.
    
    Explicitly program default QoS parameters into the
    PAN context for P2P (the defaults are 11g but with
    QoS disabled) to make device behaviour predictable.
    
    This also helps when in a follow-up patch we will
    use TX QoS parameters from mac80211 only for the
    context they were meant for -- without this first
    that would completely break P2P device discovery.
    
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    a69cd040