File tree Expand file tree Collapse file tree 1 file changed +1
-40
lines changed Expand file tree Collapse file tree 1 file changed +1
-40
lines changed Original file line number Diff line number Diff line change @@ -917,48 +917,9 @@ bool test_mac_header_information_elements_preparation()
917917 return false;
918918 }
919919
920- return true;
920+ return true;
921921}
922922
923- //bool test_mac_ie_vector_length_validate()
924- //{
925- // uint16_t length;
926- // if (!mac_ie_vector_length_validate(NULL, 0, &length) || length) {
927- // return false;
928- // }
929- //
930- // if (mac_ie_vector_length_validate(NULL, 2, &length) || length) {
931- // return false;
932- // }
933- //
934- // uint8_t temp[8];
935- // ns_ie_iovec_t vector_list[3];
936- // ns_ie_iovec_t *vector = vector_list;
937- // vector->ieBase = NULL;
938- // vector->iovLen = 100;
939- // if (mac_ie_vector_length_validate(vector_list, 3, &length)) {
940- // return false;
941- // }
942- //
943- // vector->ieBase = temp;
944- // vector++;
945- // vector->ieBase = temp;
946- // vector->iovLen = 0xfffe;
947- // if (mac_ie_vector_length_validate(vector_list, 3, &length)) {
948- // return false;
949- // }
950- // vector->iovLen = 100;
951- //
952- // vector++;
953- // vector->ieBase = temp;
954- // vector->iovLen = 200;
955- //
956- // if (!mac_ie_vector_length_validate(vector_list, 3, &length) || length != 400) {
957- // return false;
958- // }
959- // return true;
960- //}
961-
962923bool test_mac_buffer_total_payload_length ()
963924{
964925 mac_pre_build_frame_t buffer ;
You can’t perform that action at this time.
0 commit comments