Commit Graph

10 Commits

Author SHA1 Message Date
Jose Ignacio Tornos Martinez c1d6b08942 wifi: iwlwifi: mvm: Fix the listener MAC filter flags
JIRA: https://issues.redhat.com/browse/RHEL-34696

commit 4cdb86487e3eaddb4b3a7df30ae709e810aac84b
Author: Ilan Peer <ilan.peer@intel.com>
Date:   Thu Feb 8 18:58:38 2024 +0200

    wifi: iwlwifi: mvm: Fix the listener MAC filter flags
    
    One of the flags was from the wrong API.
    
    Fixes: 9be162a7b670 ("wifi: iwlwifi: mvm: add support for the new MAC CTXT command")
    Signed-off-by: Ilan Peer <ilan.peer@intel.com>
    Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
    Link: https://msgid.link/20240208185302.a338c30ec4e9.Ic2813cdeba4443c692d462fc4859392f069d7e33@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
2024-06-17 09:19:32 +02:00
Jose Ignacio Tornos Martinez fe00327326 wifi: iwlwifi: mvm: Extend support for P2P service discovery
JIRA: https://issues.redhat.com/browse/RHEL-34696

commit 59214747f26a6c1b3616ef75f9eec7543ddba8e4
Author: Ilan Peer <ilan.peer@intel.com>
Date:   Thu Feb 8 18:58:37 2024 +0200

    wifi: iwlwifi: mvm: Extend support for P2P service discovery
    
    New additions to the P2P specification use action frames to
    extend the P2P device discovery and service discovery. Thus,
    configure the P2P Device link to accept all management frames.
    
    Signed-off-by: Ilan Peer <ilan.peer@intel.com>
    Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
    Link: https://msgid.link/20240208185302.7ae41234de7b.Ie0b08d4b965409ef6df5505396927567fb899d52@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
2024-06-17 09:19:32 +02:00
Jose Ignacio Tornos Martinez 7dac30e82a wifi: iwlwifi: mvm: Don't access vif valid links directly
JIRA: https://issues.redhat.com/browse/RHEL-2907

commit 98d8a00327b2b651f2a00d6d16c6df886fdbf101
Author: Ilan Peer <ilan.peer@intel.com>
Date:   Thu Jun 15 09:47:18 2023 +0300

    wifi: iwlwifi: mvm: Don't access vif valid links directly
    
    And instead use the vif getter functions, as a preparation for
    supporting disabled/dormant links.
    
    Signed-off-by: Ilan Peer <ilan.peer@intel.com>
    Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
    Link: https://lore.kernel.org/r/20230615094410.61ca688cbbf1.Ic1b4049cf156238ff16e6c57959004da911cb5c8@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
2023-11-27 15:01:36 +01:00
Jose Ignacio Tornos Martinez ad8030c6c3 wifi: iwlwifi: pass ESR parameters to the firmware
JIRA: https://issues.redhat.com/browse/RHEL-2907

commit 6107f300132bb3ff6a22add4a29980ed6ea929a1
Author: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Date:   Mon Jun 12 18:51:14 2023 +0300

    wifi: iwlwifi: pass ESR parameters to the firmware
    
    The firmware needs to know the esr_transtition_timeout to time the
    transition between EMLSR and single radio with the AP.
    Add the EMLSR support bit to the wiphy extended capabilities so that
    it'll be sent in our association request frame. There are some
    limitations in the implementation so we cannot use zero
    padding/transition delay; fill the correct values.
    
    Also, feed the medium_synchronization delay to the firmware.
    
    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
    Link: https://lore.kernel.org/r/20230612184434.09fa06820d03.Ie9a9fd37d4948f8c5dd91161de254184b1a093c0@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
2023-11-27 15:01:30 +01:00
Jose Ignacio Tornos Martinez c134a2c7f1 wifi: iwlwifi: mvm: update the FW apis for LINK and MAC commands
JIRA: https://issues.redhat.com/browse/RHEL-2907

commit 3f3022694f62476df562244ee2a72819e98eec89
Author: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Date:   Wed May 24 20:42:05 2023 +0300

    wifi: iwlwifi: mvm: update the FW apis for LINK and MAC commands
    
    The firmware added new fields to be able to pass the link_id as the AP
    knows it and the esr_transition_timeout.
    For now, pass only the link_id since we don't have access to the
    esr_transition_timeout yet.
    
    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
    Link: https://lore.kernel.org/r/20230524203151.bf80ce717458.Icd4174911227c00cd12783fe1f517ae8097809b9@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
2023-11-27 15:01:11 +01:00
Íñigo Huguet 48a2354f30 wifi: iwlwifi: mvm: adopt the latest firmware API
Bugzilla: https://bugzilla.redhat.com/2196821

commit 3ec6697ec974391ae3e72c89a347945b82b7268c
Author: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Date:   Mon Apr 17 11:41:20 2023 +0300

    wifi: iwlwifi: mvm: adopt the latest firmware API
    
    The firmware no longer wants the beacon template inside the MAC command.
    
    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
    Link: https://lore.kernel.org/r/20230417113648.92aed4180a06.I277efa343c88081cb3fc890dcbeae3161cdffe16@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
2023-07-26 13:16:14 +02:00
Íñigo Huguet 0afb879455 wifi: iwlwifi: mvm: properly implement HE AP support
Bugzilla: https://bugzilla.redhat.com/2196821

commit bb7fcb37c9004ce7e296f7bb4e56ce65119b83b4
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Sun Apr 16 15:47:29 2023 +0300

    wifi: iwlwifi: mvm: properly implement HE AP support
    
    The firmware split the HE support field into HE and "pseudo HE",
    the latter is really for AP and doesn't implement trigger frame
    handling for example.
    
    Use the new field for AP mode.
    
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
    Link: https://lore.kernel.org/r/20230416154301.34dbfefe2a49.I0e39cd35dbe03ff9209b26733746479eae1c8966@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
2023-07-26 13:15:55 +02:00
Íñigo Huguet 9c5f58f559 wifi: iwlwifi: mvm: don't check dtim_period in new API
Bugzilla: https://bugzilla.redhat.com/2196821

commit ac251da91afa209fc4eba504fc42a504f9d31d5d
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Tue Mar 28 10:59:02 2023 +0300

    wifi: iwlwifi: mvm: don't check dtim_period in new API
    
    In newer firmware APIs the firmware is responsible for tracking
    the DTIM period and other beacon timing, so we don't need to
    wait with setting associated. In real MLO operation, mac80211
    isn't tracking this anyway, and connections wouldn't work.
    
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
    Link: https://lore.kernel.org/r/20230328104949.02354241fede.Id957bed3851fdf1fe902d79a1b0338c6d80bc0e1@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
2023-07-26 13:15:12 +02:00
Íñigo Huguet 616195bb9a wifi: iwlwifi: mvm: adjust mld_mac_ctxt_/beacon_changed() for MLO
Bugzilla: https://bugzilla.redhat.com/2196821

commit 36cf537798cb6c738b94a67ec1604c571e15b2b8
Author: Gregory Greenman <gregory.greenman@intel.com>
Date:   Tue Mar 28 10:58:57 2023 +0300

    wifi: iwlwifi: mvm: adjust mld_mac_ctxt_/beacon_changed() for MLO
    
    HE/EHT support is reported to FW if there's at least one link
    that supports it. Configure beacon separately for each link.
    Don't send the beacon template before adding the MAC.
    
    Co-developed-by: Johannes Berg <johannes.berg@intel.com>
    Co-developed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
    Link: https://lore.kernel.org/r/20230328104949.5ef4efeda2dd.I6ebda2b71c964b9aa63240c9fa1ee0d28099fe6e@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
2023-07-26 13:15:11 +02:00
Íñigo Huguet 9d48d238dc wifi: iwlwifi: mvm: add support for the new MAC CTXT command
Bugzilla: https://bugzilla.redhat.com/2196821

commit 9be162a7b670b7e8dbada3c139d77961f457a34d
Author: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Date:   Tue Mar 14 19:49:18 2023 +0200

    wifi: iwlwifi: mvm: add support for the new MAC CTXT command
    
    As a part of the new MLD FW API changes, we have a new MAC CTXT command.
    Add structures and enum definitions, along with the functions that
    sends this command (i.e. add, remove and change mac ctxt).
    This functions will be in used in the next patches.
    
    Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
    Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
    Link: https://lore.kernel.org/r/20230314194113.99a41a5bc55f.I310312c829f5f2f69b64fcddce487b1eab80165b@changeid
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
2023-07-26 13:14:48 +02:00