• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/common/

Lines Matching refs:Len

326 	while ((Length + 2 + pEid->Len) <= MsgLen) {
330 if ((*LengthVIE + pEid->Len + 2) >= MAX_VIE_LEN) {
333 (*LengthVIE + pEid->Len + 2), MAX_VIE_LEN));
342 if (pEid->Len <= MAX_LEN_OF_SSID) {
343 NdisMoveMemory(Ssid, pEid->Octet, pEid->Len);
344 *pSsidLen = pEid->Len;
349 pEid->Len));
355 if (pEid->Len <= MAX_LEN_OF_SUPPORTED_RATES) {
357 NdisMoveMemory(SupRate, pEid->Octet, pEid->Len);
358 *pSupRateLen = pEid->Len;
368 pEid->Len));
374 if (pEid->Len >= SIZE_HT_CAP_IE) /*Note: allow extension! */
393 pEid->Len + 2);
394 *LengthVIE += (pEid->Len + 2);
398 ("PeerBeaconAndProbeRspSanity - wrong IE_HT_CAP. pEid->Len = %d\n",
399 pEid->Len));
404 if (pEid->Len >= sizeof(struct rt_add_ht_info_ie)) {
424 pEid->Len + 2);
425 *LengthVIE += (pEid->Len + 2);
434 if (pEid->Len == 1) {
448 if (pEid->Len == 1) {
462 pEid->Len));
468 if (pEid->Len == 6) {
484 if (pEid->Len == 2) {
486 pEid->Len);
502 if (pEid->Len == 3) {
514 /*if (NdisEqualMemory(pEid->Octet, BROADCOM_OUI, 3) && (pEid->Len >= 4))
516 if ((pEid->Octet[3] == OUI_BROADCOM_HT) && (pEid->Len >= 30))
523 if ((pEid->Octet[3] == OUI_BROADCOM_HT) && (pEid->Len >= 26))
534 && (pEid->Len == 7)) {
547 3) && (pEid->Len >= 4)
550 && (pEid->Len >= 30)
560 && (pEid->Len >= 26)) {
570 pEid->Len + 2);
571 *LengthVIE += (pEid->Len + 2);
574 && (pEid->Len == 24)) {
599 && (pEid->Len == 7)) {
642 if (pEid->Len <= MAX_LEN_OF_SUPPORTED_RATES) {
643 NdisMoveMemory(ExtRate, pEid->Octet, pEid->Len);
644 *pExtRateLen = pEid->Len;
655 if (pEid->Len == 1) {
664 if (pEid->Len < (CKIP_NEGOTIATION_LENGTH - 2))
674 if (pEid->Len != 0x06)
689 pEid->Len + 2);
690 *LengthVIE += (pEid->Len + 2);
698 Length = Length + 2 + pEid->Len; /* Eid[1] + Len[1]+ content[Len] */
699 pEid = (struct rt_eid *) ((u8 *) pEid + 2 + pEid->Len);