only print out LINKSTATUS messages if they change from our last received
status.
This commit is contained in:
parent
66ddad3941
commit
5132767e76
1
CHANGES
1
CHANGES
|
@ -41,6 +41,7 @@
|
|||
* Intersil Corporation as part of PRISM(R) chipset product development.
|
||||
*
|
||||
* --------------------------------------------------------------------
|
||||
- Only notify us on linkstatus changes if it actually changes.
|
||||
- Fixed the path the manpages were installed to.
|
||||
-pre8
|
||||
- Properly reset the hardware state after a flash/ram download.
|
||||
|
|
|
@ -54,7 +54,9 @@ The following subsections detail the fields of the capture header.
|
|||
4.1 version
|
||||
The version field identifies this type of frame as a subtype of
|
||||
ETH_P_802111_CAPTURE as received by an ARPHRD_IEEE80211_PRISM or
|
||||
an ARPHRD_IEEE80211_CAPTURE device. The value of this field shall be ???????
|
||||
an ARPHRD_IEEE80211_CAPTURE device. The value of this field shall be
|
||||
0x80211001. As new revisions of this header are necessary, we can
|
||||
increment the version appropriately.
|
||||
|
||||
4.2 length
|
||||
The length field contains the length of the entire AVS capture header,
|
||||
|
@ -64,7 +66,7 @@ in bytes.
|
|||
Many WLAN devices supply a relatively high resolution frame reception
|
||||
time value. This field contains the value supplied by the device. If
|
||||
the device does not supply a receive time value, this field shall be
|
||||
set to zero.
|
||||
set to zero. The units for this field are nanoseconds.
|
||||
|
||||
4.4 hosttime
|
||||
The hosttime field is set to the current value of the host maintained
|
||||
|
@ -73,6 +75,7 @@ clock variable when the frame is received.
|
|||
4.5 phytype
|
||||
The phytype field identifies what type of PHY is employed by the WLAN
|
||||
device used to capture this frame. The valid values are:
|
||||
|
||||
PhyType Value
|
||||
----------------------------------
|
||||
phytype_fhss_dot11_97 1
|
||||
|
@ -89,6 +92,7 @@ For all PHY types except FH, this field is just an unsigned integer
|
|||
and will be set to the current receiver channel number at the time
|
||||
the frame was received. For frequency hopping radios, this field
|
||||
is broken in to the following subfields:
|
||||
|
||||
Byte Subfield
|
||||
------------------------
|
||||
Byte0 Hop Set
|
||||
|
@ -138,7 +142,8 @@ and if the ssi_type value is "dBm" that the value may be negative.
|
|||
The ssi_noise field contains the noise or "silence" value reported by
|
||||
the WLAN device. This value is commonly defined to be the "signal
|
||||
strength reported immediately prior to the baseband processor lock on
|
||||
the frame preamble".
|
||||
the frame preamble". If the hardware does not provide noise data, this
|
||||
shall equal 0xffffffff.
|
||||
|
||||
4.12 preamble
|
||||
For PHYs that support variable preamble lengths, the preamble field
|
||||
|
|
|
@ -2141,18 +2141,19 @@ void prism2sta_inf_linkstatus(wlandevice_t *wlandev, hfa384x_InfFrame_t *inf)
|
|||
|
||||
DBFENTER;
|
||||
/* Convert */
|
||||
priv->link_status =
|
||||
hfa384x2host_16(inf->info.linkstatus.linkstatus);
|
||||
|
||||
/* Fire off a task. */
|
||||
priv->link_tq.routine = prism2sta_linkstatus_defer;
|
||||
priv->link_tq.data = wlandev;
|
||||
|
||||
if (priv->link_status != hfa384x2host_16(inf->info.linkstatus.linkstatus)) {
|
||||
priv->link_status = hfa384x2host_16(inf->info.linkstatus.linkstatus);
|
||||
|
||||
/* Fire off a task. */
|
||||
priv->link_tq.routine = prism2sta_linkstatus_defer;
|
||||
priv->link_tq.data = wlandev;
|
||||
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0))
|
||||
queue_task(&priv->link_tq, &tq_scheduler);
|
||||
queue_task(&priv->link_tq, &tq_scheduler);
|
||||
#else
|
||||
schedule_task(&priv->link_tq);
|
||||
schedule_task(&priv->link_tq);
|
||||
#endif
|
||||
}
|
||||
|
||||
DBFEXIT;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue