Hakan Coşkun
2014-10-17 14:52:15 UTC
Hi all,
I found the problem. There is a check in /net/mac80211/cfg.c
!rcu_access_pointer(sdata->bss->beacon))
I guess this related to beaconing. If it is not configured, off-channel=
is
required in any case.
If you put the interface into AP mode and try to send frames with
NL80211_CMD_FRAME you have to set the OFFCHANNEL_TX_OK flag in any case=
!!!
Right now I am facing the problem of not getting probe-requests deliver=
ed
to my master mode interface through NL80211_CMD_REGISTER_FRAME. It work=
s
only if I start an additional monitor interface on the same card. Any c=
lue
what to do to enable frame delivery to the AP interface without a monit=
or
interface.
Kind Regards,
Hakan
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
I found the problem. There is a check in /net/mac80211/cfg.c
!rcu_access_pointer(sdata->bss->beacon))
I guess this related to beaconing. If it is not configured, off-channel=
is
required in any case.
If you put the interface into AP mode and try to send frames with
NL80211_CMD_FRAME you have to set the OFFCHANNEL_TX_OK flag in any case=
!!!
Right now I am facing the problem of not getting probe-requests deliver=
ed
to my master mode interface through NL80211_CMD_REGISTER_FRAME. It work=
s
only if I start an additional monitor interface on the same card. Any c=
lue
what to do to enable frame delivery to the AP interface without a monit=
or
interface.
Kind Regards,
Hakan
Hi,
For some time I am playing around with tools like scapy, senf, lorcon =
etc.For some time I am playing around with tools like scapy, senf, lorcon =
Which allow to receive and construct frames in user-space and send the=
mwith
pcap or raw sockets. I am trying to achieve the injection part with
NL80211_CMD_FRAME. According to the description, only management frame=
spcap or raw sockets. I am trying to achieve the injection part with
NL80211_CMD_FRAME. According to the description, only management frame=
are
supported by this command. Am I right ?
I put some printks into nl80211.c and mlme.c to follow the transmissio=
nsupported by this command. Am I right ?
I put some printks into nl80211.c and mlme.c to follow the transmissio=
part
and to understand where my commands are failing.
I=C2=B9ve put my interface into master mode (NL80211_IFTYPE_AP) in ord=
er passand to understand where my commands are failing.
I=C2=B9ve put my interface into master mode (NL80211_IFTYPE_AP) in ord=
the
checks in cfg80211. When I try to send down a beacon frame or another
management frame I got an error from cfg80211_mlme_mgmt_tx in mlme.c.
rdev_mgmt_tx returns an error code. How can I figure out why my frame =
ischecks in cfg80211. When I try to send down a beacon frame or another
management frame I got an error from cfg80211_mlme_mgmt_tx in mlme.c.
rdev_mgmt_tx returns an error code. How can I figure out why my frame =
not
send down on the wiphy ?
By the way, why is CMD_FRAME only restricted to management frames ?
Regards,
Hakan
--send down on the wiphy ?
By the way, why is CMD_FRAME only restricted to management frames ?
Regards,
Hakan
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html