Skip to contentSkip to conversation

ath12k: WCN7851 and QCN9274 monitor mode not working

DISCUSSION Florian Schmidt 3 participants 4 messages Aug 19, 2024 – Aug 20, 2024 Qualcomm ATH12K wireless driver

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to use ath12k in monitor mode with cards WCN7851 and QCN9274 without success.

When switching the interface to monitor, iw always fail with the following response:
command failed: Operation not supported (-95)

But ''iw phy show’’ reports that the interface support monitor mode.

I tried with many kernels, using todays firmware from the ath12k-firmware repository, the 6.10.5 kernel and the ath-pending kernel and always get the same result.

Is there any way to get monitor mode to work on Qualcom WiFi 7 chips?

Thank you.

#1 lore raw
Quoted 8 lines · Florian Schmidt

Hi,

I am trying to use ath12k in monitor mode with cards WCN7851 and QCN9274 without success.

When switching the interface to monitor, iw always fail with the following response:
command failed: Operation not supported (-95)

But ''iw phy show’’ reports that the interface support monitor mode.

This flag is set by mac80211 in ieee80211_register_hw():

/* mac80211 always supports monitor */ hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_MONITOR);

Our upstream code currently doesn't support it yet.

Quoted 4 lines

I tried with many kernels, using todays firmware from the ath12k-firmware repository, the 6.10.5 kernel and the ath-pending kernel and always get the same result.

Is there any way to get monitor mode to work on Qualcom WiFi 7 chips?

No, we haven't upstream related patch-set yet.

Indeed we have some patch-sets under review now.

Not sure when we can upstream all of them.

Quoted 3 lines

Thank you.

#2 lore raw
Quoted 25 lines · Florian Schmidt
Quoted 3 lines

Hi,

I am trying to use ath12k in monitor mode with cards WCN7851 and

QCN9274 without success.

Quoted 2 lines

When switching the interface to monitor, iw always fail with the following

response:

Quoted 3 lines

command failed: Operation not supported (-95)

But ''iw phy show’’ reports that the interface support monitor mode.

This flag is set by mac80211 in ieee80211_register_hw():

/* mac80211 always supports monitor */ hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_MONITOR);

Our upstream code currently doesn't support it yet.

Quoted 2 lines

I tried with many kernels, using todays firmware from the ath12k-firmware

repository, the 6.10.5 kernel and the ath-pending kernel and always get the same result.

Quoted 1 line
Quoted 13 lines
Quoted 1 line

Is there any way to get monitor mode to work on Qualcom WiFi 7 chips?

No, we haven't upstream related patch-set yet.

Indeed we have some patch-sets under review now.

Not sure when we can upstream all of them.

Quoted 3 lines

Thank you.

Is there anyway we can build from these patch sets, are they on a branch of repo we can pull from?

David

#3 lore raw
Quoted 35 lines · david Atkins
Quoted 35 lines · Florian Schmidt
Quoted 3 lines

Hi,

I am trying to use ath12k in monitor mode with cards WCN7851 and

QCN9274 without success.

Quoted 2 lines

When switching the interface to monitor, iw always fail with the following

response:

Quoted 3 lines

command failed: Operation not supported (-95)

But ''iw phy show’’ reports that the interface support monitor mode.

This flag is set by mac80211 in ieee80211_register_hw():

/* mac80211 always supports monitor */ hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_MONITOR);

Our upstream code currently doesn't support it yet.

Quoted 2 lines

I tried with many kernels, using todays firmware from the ath12k-firmware

repository, the 6.10.5 kernel and the ath-pending kernel and always get the same result.

Quoted 2 lines

Is there any way to get monitor mode to work on Qualcom WiFi 7 chips?

No, we haven't upstream related patch-set yet.

Indeed we have some patch-sets under review now.

Not sure when we can upstream all of them.

Quoted 1 line
Quoted 6 lines
Quoted 3 lines
Quoted 2 lines

Thank you.

Is there anyway we can build from these patch sets, are they on a branch of repo we can pull from?

No, even half of them haven't under review yet.

Only very few changes have been merged into the master branch.

Quoted 3 lines

David