Lines Matching refs:fieldPattern
620 static void closeFieldPattern(rxData_t * pRxData, rxDataFilterFieldPattern_t * fieldPattern, UINT8 * fieldPatterns, UINT8 * lenFieldPatterns)
622 fieldPatterns[*lenFieldPatterns] = fieldPattern->offset;
623 *lenFieldPatterns += sizeof(fieldPattern->offset);
625 fieldPatterns[*lenFieldPatterns] = fieldPattern->length;
626 *lenFieldPatterns += sizeof(fieldPattern->length);
628 fieldPatterns[*lenFieldPatterns] = fieldPattern->flag;
629 *lenFieldPatterns += sizeof(fieldPattern->flag);
631 os_memoryCopy(pRxData->hOs, fieldPatterns + *lenFieldPatterns, fieldPattern->pattern, fieldPattern->length);
632 *lenFieldPatterns += fieldPattern->length;
635 if ((fieldPattern->flag & RX_DATA_FILTER_FLAG_USE_BIT_MASK) == RX_DATA_FILTER_FLAG_USE_BIT_MASK)
637 os_memoryCopy(pRxData->hOs, fieldPatterns + *lenFieldPatterns, fieldPattern->mask, fieldPattern->length);
638 *lenFieldPatterns += fieldPattern->length;
641 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG, ("%s: Closed field pattern, length = %d, total length = %d, pattern bit mask = %d.\n", __FUNCTION__, fieldPattern->length, *lenFieldPatterns, ((fieldPattern->flag & RX_DATA_FILTER_FLAG_USE_BIT_MASK) == RX_DATA_FILTER_FLAG_USE_BIT_MASK)));
669 rxDataFilterFieldPattern_t fieldPattern;
689 closeFieldPattern(hRxData, &fieldPattern, fieldPatterns, lenFieldPatterns);
715 fieldPattern.offset = request->offset + maskIter;
716 fieldPattern.length = 0;
719 fieldPattern.flag = RX_DATA_FILTER_FLAG_NO_BIT_MASK;
722 if (fieldPattern.offset < RX_DATA_FILTER_ETHERNET_HEADER_BOUNDARY)
724 fieldPattern.flag |= RX_DATA_FILTER_FLAG_ETHERNET_HEADER;
728 fieldPattern.flag |= RX_DATA_FILTER_FLAG_IP_HEADER;
729 fieldPattern.offset -= RX_DATA_FILTER_ETHERNET_HEADER_BOUNDARY;
733 ("%s: offset = %d, flag = %d.\n", __FUNCTION__, fieldPattern.offset, fieldPattern.flag));
746 fieldPattern.pattern[fieldPattern.length++] = request->pattern[patternIter++];
749 if (fieldPattern.offset + fieldPattern.length >= RX_DATA_FILTER_FILTER_BOUNDARY)
771 closeFieldPattern(hRxData, &fieldPattern, fieldPatterns, lenFieldPatterns);