URL: http://svn.madwifi-project.org/madwifi/branches/madwifi-0.9.4
Repository Root: http://svn.madwifi-project.org
Repository UUID: 0192ed92-7a03-0410-a25b-9323aeb14dbd
-Revision: 4149
+Revision: 4162
Last Changed Author: proski
-Last Changed Rev: 4149
-Last Changed Date: 2011-07-06 18:23:13 +0200 (Wed, 06 Jul 2011)
+Last Changed Rev: 4162
+Last Changed Date: 2011-08-03 08:25:42 +0200 (Wed, 03 Aug 2011)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: if_ath.c 4139 2011-05-03 22:07:34Z proski $
+ * $Id: if_ath.c 4162 2011-08-03 06:25:42Z proski $
*/
/*
/* allocate buffers */
bsize = sizeof(struct ath_buf) * nbuf;
- bf = kmalloc(bsize, GFP_KERNEL);
+ bf = kzalloc(bsize, GFP_KERNEL);
if (bf == NULL) {
error = -ENOMEM; /* XXX different code */
goto fail2;
}
- memset(bf, 0, bsize);
dd->dd_bufptr = bf;
STAILQ_INIT(head);
const size_t space = sizeof(struct ath_node) + sc->sc_rc->arc_space;
struct ath_node *an;
- an = kmalloc(space, GFP_ATOMIC);
+ an = kzalloc(space, GFP_ATOMIC);
if (an == NULL)
return NULL;
- memset(an, 0, space);
an->an_decomp_index = INVALID_DECOMP_INDEX;
an->an_avgrssi = ATH_RSSI_DUMMY_MARKER;
an->an_halstats.ns_avgbrssi = ATH_RSSI_DUMMY_MARKER;
* this is a DEAUTH message that was sent and the
* node was timed out due to inactivity.
*/
- ieee80211_free_node(ni);
+ ieee80211_free_node(ni);
}
bus_unmap_single(sc->sc_bdev, bf->bf_skbaddr,
.proc_handler = ath_sysctl_halparam,
.extra2 = (void *)ATH_INTMIT,
},
- { 0 }
+ { }
};
static void
.extra2 = &maxint,
.proc_handler = proc_dointvec_minmax
},
- { 0 }
+ { }
};
static ctl_table ath_ath_table[] = {
{ ATH_INIT_CTL_NAME(DEV_ATH)
.procname = "ath",
.mode = 0555,
.child = ath_static_sysctls
- }, { 0 }
+ }, { }
};
static ctl_table ath_root_table[] = {
{ ATH_INIT_CTL_NAME(CTL_DEV)
.procname = "dev",
.mode = 0555,
.child = ath_ath_table
- }, { 0 }
+ }, { }
};
static struct ctl_table_header *ath_sysctl_header;
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: if_ath_pci.c 4136 2011-02-02 21:22:31Z proski $
+ * $Id: if_ath_pci.c 4162 2011-08-03 06:25:42Z proski $
*/
#include "opt_ah.h"
{ 0x168c, 0x001c, PCI_ANY_ID, PCI_ANY_ID }, /* PCI Express 5424 */
{ 0x168c, 0x001d, PCI_ANY_ID, PCI_ANY_ID }, /* PCI Express ??? */
{ 0x168c, 0x9013, PCI_ANY_ID, PCI_ANY_ID }, /* sonicwall */
- { 0 }
+ { }
};
static u16 ath_devidmap[][2] = {
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: ah_os.c 4136 2011-02-02 21:22:31Z proski $
+ * $Id: ah_os.c 4162 2011-08-03 06:25:42Z proski $
*/
#include "opt_ah.h"
.proc_handler = proc_dointvec
},
#endif
- { 0 }
+ { }
};
static ctl_table ath_hal_table[] = {
{ ATH_INIT_CTL_NAME(CTL_AUTO)
.procname = "hal",
.mode = 0555,
.child = ath_hal_sysctls
- }, { 0 }
+ }, { }
};
static ctl_table ath_ath_table[] = {
{ ATH_INIT_CTL_NAME(DEV_ATH)
.procname = "ath",
.mode = 0555,
.child = ath_hal_table
- }, { 0 }
+ }, { }
};
static ctl_table ath_root_table[] = {
{ ATH_INIT_CTL_NAME(CTL_DEV)
.procname = "dev",
.mode = 0555,
.child = ath_ath_table
- }, { 0 }
+ }, { }
};
static struct ctl_table_header *ath_hal_sysctl_header;
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: amrr.c 4136 2011-02-02 21:22:31Z proski $
+ * $Id: amrr.c 4162 2011-08-03 06:25:42Z proski $
*/
/*
.extra2 = &maxint,
.proc_handler = proc_dointvec_minmax
},
- { 0 }
+ { }
};
static ctl_table ath_rate_table[] = {
{ ATH_INIT_CTL_NAME(CTL_AUTO)
.procname = "rate",
.mode = 0555,
.child = ath_rate_static_sysctls
- }, { 0 }
+ }, { }
};
static ctl_table ath_ath_table[] = {
{ ATH_INIT_CTL_NAME(DEV_ATH)
.procname = "ath",
.mode = 0555,
.child = ath_rate_table
- }, { 0 }
+ }, { }
};
static ctl_table ath_root_table[] = {
{ ATH_INIT_CTL_NAME(CTL_DEV)
.procname = "dev",
.mode = 0555,
.child = ath_ath_table
- }, { 0 }
+ }, { }
};
static struct ctl_table_header *ath_sysctl_header;
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: onoe.c 4136 2011-02-02 21:22:31Z proski $
+ * $Id: onoe.c 4162 2011-08-03 06:25:42Z proski $
*/
/*
.maxlen = sizeof(ath_rate_raise_threshold),
.proc_handler = proc_dointvec
},
- { 0 }
+ { }
};
static ctl_table ath_rate_table[] = {
{ ATH_INIT_CTL_NAME(CTL_AUTO)
.procname = "rate",
.mode = 0555,
.child = ath_rate_static_sysctls
- }, { 0 }
+ }, { }
};
static ctl_table ath_ath_table[] = {
{ ATH_INIT_CTL_NAME(DEV_ATH)
.procname = "ath",
.mode = 0555,
.child = ath_rate_table
- }, { 0 }
+ }, { }
};
static ctl_table ath_root_table[] = {
{ ATH_INIT_CTL_NAME(CTL_DEV)
.procname = "dev",
.mode = 0555,
.child = ath_ath_table
- }, { 0 }
+ }, { }
};
static struct ctl_table_header *ath_sysctl_header;
%define mykrelver %(echo %{mykversion} | tr -s '-' '_')
# Define based on the tar ball extract.
# Those two variable will be instanced during the tarball generation
-%define revision 4149
-%define snapshot 20110707
+%define revision 4162
+%define snapshot 20110804
# branch is not used yet.
%define branch trunk
Summary: A linux device driver for Atheros chipsets (ar5210, ar5211, ar5212).
-madwifi (1:0.9.4+r4149.20110707-0.1) UNRELEASED; urgency=low
-
- IGNORE-VERSION: 1:0.9.4+r4149.20110707-0.1
+madwifi (1:0.9.4+r4162.20110804-0.1) UNRELEASED; urgency=low
* NMU.
* New upstream SVN snapshot.
- -- gregor herrmann <gregoa@debian.org> Thu, 07 Jul 2011 18:15:45 +0200
+ -- gregor herrmann <gregoa@debian.org> Thu, 04 Aug 2011 21:28:57 +0200
madwifi (1:0.9.4+r4147.20110623-0.1) experimental; urgency=low
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: ieee80211_linux.c 4136 2011-02-02 21:22:31Z proski $
+ * $Id: ieee80211_linux.c 4162 2011-08-03 06:25:42Z proski $
*/
#ifndef EXPORT_SYMTAB
#define EXPORT_SYMTAB
.mode = 0444,
.proc_handler = proc_dostring
},
- { 0 }
+ { }
};
void
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: ieee80211_wireless.c 4139 2011-05-03 22:07:34Z proski $
+ * $Id: ieee80211_wireless.c 4156 2011-08-03 01:07:44Z proski $
*/
/*
if ((ic->ic_caps & IEEE80211_C_PMGT) == 0)
return -EOPNOTSUPP;
-
+
if (wrq->disabled) {
- if (ic->ic_flags & IEEE80211_F_PMGTON)
- ic->ic_flags &= ~IEEE80211_F_PMGTON;
+ ic->ic_flags &= ~IEEE80211_F_PMGTON;
} else {
- switch (wrq->flags & IW_POWER_MODE) {
- case IW_POWER_UNICAST_R:
- case IW_POWER_ALL_R:
- case IW_POWER_ON:
+ switch (wrq->flags & IW_POWER_MODE) {
+ case IW_POWER_UNICAST_R:
+ case IW_POWER_ALL_R:
+ case IW_POWER_ON:
if (wrq->flags & IW_POWER_PERIOD) {
if (IEEE80211_BINTVAL_VALID(wrq->value))
ic->ic_lintval = IEEE80211_MS_TO_TU(wrq->value);
else
- return -EINVAL;
- }
+ return -EINVAL;
+ }
if (wrq->flags & IW_POWER_TIMEOUT)
- ic->ic_holdover = IEEE80211_MS_TO_TU(wrq->value);
-
- ic->ic_flags |= IEEE80211_F_PMGTON;
+ ic->ic_holdover = IEEE80211_MS_TO_TU(wrq->value);
+
+ ic->ic_flags |= IEEE80211_F_PMGTON;
break;
default:
return -EINVAL;
+ }
}
- }
-
+
return IS_UP(ic->ic_dev) ? ic->ic_reset(ic->ic_dev) : 0;
}
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_media.c 4136 2011-02-02 21:22:31Z proski $
+ * $Id: if_media.c 4159 2011-08-03 01:22:41Z proski $
*/
/*
return (-EINVAL);
if (ifmr->ifm_count != 0) {
- kptr = (int *)kmalloc(ifmr->ifm_count * sizeof(int),
- GFP_KERNEL);
+ kptr = kmalloc(ifmr->ifm_count * sizeof(int),
+ GFP_KERNEL);
if (kptr == NULL)
return (-ENOMEM);