openwrt / openwrt/mt76

Rekeying PTK for STA <mac> but driver can't safely do that.

Open
#701 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

Hi

I'm using STA mode (connected to an AP on which I don't have control)
Connection is WPA2-Enterprise encrypted, every 15 minute I get this message on log Rekeying PTK for STA XX:XX:XX:XX:XX:XX but driver can't safely do that. and half the time the STA (so my router) disconnect going again through all connection process

Searching online and combing through the code it seem like to me that the driver do not have configured either IEEE80211_KEY_FLAG_NO_AUTO_TX and NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 flags

Is this a misconfiguration? or the driver is really unable to support this features?

For reference I'm running OpenWrt SNAPSHOT r20686-f0ea3df439 / LuCI Master git-22.245.77360-10bcb22 on a ASUS RT-AC85P

Thank,
Luca

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Rekeying PTK for STA log path and reviewing how the driver handles IEEE80211_KEY_FLAG_NO_AUTO_TX and NL80211_EXT_FEATURE_CAN_REPLACE_PTK0. Reproduce the WPA2-Enterprise PTK rekey every 15 minutes and compare the feature flags with the disconnect behavior. Done means the driver limitation or misconfiguration is identified and the rekey no longer causes the reported disconnect.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.