A data-compression LAN station for use on a mixed-domain LAN having stations with arbitrary compression capabilities, the data-compression LAN station comprising:
- upper-layer protocol means, receiving application data from an application layer above the upper layer protocol means, for generating a destination address and a data frame including the application data,
- first length-determining means, in the upper-layer protocol means, for determining a first length of the data frame and for outputting a length-specifying field;
- compression means, receiving the data frame and the length-specifying field from the upper-layer protocol means, for compressing the data frame to a compressed data frame;
- second length-determining means, receiving the compressed data frame from the compression means, for determining a second length of the compressed data frame;
- length adjust means, receiving the second length from the second length-determining means, for outputting an adjusted length-specifying field indicating a length of the compressed data frame;
- a checksum generator, receiving the compressed data frame from the compression means, for generating a checksum of the compressed data frame, the checksum being mathematically related to data in the compressed data frame, the checksum for verifying integrity of packet transmission over the mixed-domain LAN;
- compressed packet assembly means, receiving the compressed data frame, the checksum, the second length, and the destination address, for outputting a compressed packet including the destination address, the second length, the compressed data frame, and the checksum;
- physical transmission means, receiving the compressed packet from the compressed packet assembly means, for converting the compressed packet to a bit stream and outputting the bit stream to the mixed-domain LAN for reception by a station having the destination address;
- compression capability means, receiving the destination address, for determining when the destination station is capable of de-compressing the compressed data frame;
- wherein the compression capability means comprises comparing the destination address to network addresses assigned to stations with low-level compression capability;
- compression disable means, coupled to the compression means, for disabling the compression means when the compression capability means determines that the destination station is not capable of de-compressing the compressed data frame, the compression means outputting the compressed data frame with un-compressed data when disabled;
- a logical link controller for receiving the data frame from the upper-layer protocol means;
- and
- a media access controller, receiving the compressed packet from the compressed packet assembly means, for transferring the compressed packet to the physical transmission means, the compressed packet assembly means and the checksum generator being part of the media access controller;
- wherein the compression means receives the data frame from the logical link controller and outputs the compressed data frame to the media access controller,
- whereby data is compressed and a length field adjusted for a new length of the compressed data frame.