lkml.org 
[lkml]   [2022]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6.0 291/862] wifi: mt76: mt7915: do not check state before configuring implicit beamform
    Date
    From: Howard Hsu <howard-yh.hsu@mediatek.com>

    [ Upstream commit d2b5bb6dfab29fe32bedefaade88dcd182c03a00 ]

    Do not need to check running state before configuring implicit Tx
    beamform. It is okay to configure implicit Tx beamform in run time.
    Noted that the existing connected stations will be applied for new
    configuration only if they reconnected to the interface.

    Fixes: 6d6dc980e07d ("mt76: mt7915: add implicit Tx beamforming support")
    Signed-off-by: Howard Hsu <howard-yh.hsu@mediatek.com>
    Signed-off-by: Felix Fietkau <nbd@nbd.name>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c b/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
    index fd76db8f5269..6ef3431cad64 100644
    --- a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
    +++ b/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
    @@ -23,9 +23,9 @@ mt7915_implicit_txbf_set(void *data, u64 val)
    {
    struct mt7915_dev *dev = data;

    - if (test_bit(MT76_STATE_RUNNING, &dev->mphy.state))
    - return -EBUSY;
    -
    + /* The existing connected stations shall reconnect to apply
    + * new implicit txbf configuration.
    + */
    dev->ibf = !!val;

    return mt7915_mcu_set_txbf(dev, MT_BF_TYPE_UPDATE);
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-10-19 10:58    [W:4.038 / U:0.544 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site