Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown Command 104 #18

Open
wraith-wireless opened this issue Jul 13, 2016 · 0 comments
Open

Unknown Command 104 #18

wraith-wireless opened this issue Jul 13, 2016 · 0 comments
Assignees
Labels

Comments

@wraith-wireless
Copy link
Owner

Unknown Command 104. After updating to kernel 4, iw phy info returns
a Unknown command (104). pyw.phyinfo does not return this.

  • iw 3.17 being used

  • command 104 is NL80211_CMD_SET_QOS_MAP

  • iw->util.c:
    const char *command_name(enum nl80211_commands cmd)
    {
    if (cmd <= NL80211_CMD_MAX && commands[cmd])
    return commands[cmd];
    sprintf(cmdbuf, "Unknown command (%d)", cmd);
    return cmdbuf;
    }

    iw's nl80211.h defines NL80211_CMD_SET_QOS_MAP but util.c does not specify
    this command in commands which explains the unknown command.

  • I've gone through the stream returned from the kernel for a wiphy request
    and pyw is not getting this command

  • It does not look like iw is hardcoding this but I cannot see any other way.

  • If this command was being returned, pyw would correctly identify it as
    NL80211_CMD_SET_QOS_MAP - need to identify a card that supports this command
    and determine that pyw does correctly identify it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant